Commit 26732556 by naan1993

完善fastjson配置

parent 8b25a514
......@@ -22,7 +22,8 @@ public class FastjsonConfig {
FastJsonConfig fastJsonConfig = new FastJsonConfig();
fastJsonConfig.setSerializerFeatures(
SerializerFeature.PrettyFormat,
SerializerFeature.WriteMapNullValue
SerializerFeature.WriteMapNullValue,
SerializerFeature.BrowserCompatible
);
fastJsonConfig.setDateFormat("yyyy-MM-dd HH:mm:ss");
ValueFilter valueFilter = new ValueFilter() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment