//通过静态代码块向FastJson全局配置中增加输出null值的配置static { JSON.DEFAULT_GENERATE_FEATURE |= SerializerFeature.WriteMapNullValue.getMask();}