JSONObject jo_str = JSONObject.parseObject(jsonStr);
String responseData = JSON.toJSONString(jo_str, SerializerFeature.PrettyFormat, SerializerFeature.WriteMapNullValue, SerializerFeature.WriteDateUseDateFormat);
java-格式化输出json字符串
最新推荐文章于 2024-03-13 22:44:14 发布