fastjson kotlin data class配置@JSONType

u1ehiz5o  于 2021-11-27  发布在  Java
关注(0)|答案(0)|浏览(268)

kotlin data class配置@JSONType(serialzeFeatures = [SerializerFeature.WriteMapNullValue, SerializerFeature.WriteNullBooleanAsFalse, SerializerFeature.WriteNullNumberAsZero, SerializerFeature.WriteNullStringAsEmpty, SerializerFeature.WriteNullListAsEmpty, SerializerFeature.BeanToArray, SerializerFeature.PrettyFormat])没有用,这个怎么配置全局的?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题