How to ignore @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)

前端 未结 0 1368
盖世英雄少女心
盖世英雄少女心 2021-01-28 22:29

I have a pojo, and most of the time I don\'t want to write a field to Json, but for a specific contition I want to write this value to json. For example my model is;

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题