fastjson JSON 对象为空保留null

JSONObject jsonObject = JSONObject.parseObject(JSON.toJSONString(Object, SerializerFeature.WriteMapNullValue));

猜你喜欢

转载自www.cnblogs.com/lixxx/p/10683386.html