阅读背景:

如何在ObjectMapper序列化类时忽略属性

来源:互联网 

I have a class with lots of attributes which are required for server side logic, but a few of those are required for UI. Now when I am creating a json from the class, all the attributes are written to json. I want to ignore some values only when it is converted to json. I Tried with I have a class with lots of attributes which ar




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: