Deserializing JSON into object with overloaded methods using Jackson

后端 未结 3 1158
遥遥无期
遥遥无期 2020-12-07 22:36

I am attempting to deserialize a JSON object stored in CouchDb using Jackson. This object needs to deserialize into a pojo that contains overloaded methods. When I attempt

3条回答
  •  情歌与酒
    2020-12-07 22:45

    In cases where @JsonIgnore doesn't help (I currently have such a case, but am still unsure of the reason), it is also possible to use @XmlTransient instead.

提交回复
热议问题