Jackson JsonProperty annotation on variable vs getters/setters

前端 未结 0 1180
隐瞒了意图╮
隐瞒了意图╮ 2021-01-05 08:14

How does JsonProperty work when used with a variable vs getters/setters?

For example,

Situation 1 - @JsonProperty on variable

class Shape {

@Js         


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