fastjson中@jsonType註解的使用

1.@JSONType的使用app @JSONType(includes = {"name","sex"})spa @JSONType(ignores ={"id", "sex"})  xml 放在實體類中就會只裝配列舉的字段,接口 2.@JSONField的使用class 放在實體類中的某個字段上面配置 protected class H5PayConfig {序列化 @JSONFiel
相關文章
相關標籤/搜索