java对象转换成json字符串输出,

 com.alibaba.fastjson.JSONObject

JSONObject.toJSONString(   );

猜你喜欢

转载自blog.csdn.net/ke1ying/article/details/93971906