fastJson null字符串转空 null数字转0

JSON.toJSONString(list,SerializerFeature.WriteNullStringAsEmpty,SerializerFeature.WriteNullNumberAsZero);

猜你喜欢

转载自www.cnblogs.com/yifanSJ/p/9221001.html