Jackson: Multiple back-reference properties with name 'defaultReference'

后端 未结 4 1340
慢半拍i
慢半拍i 2021-02-11 18:25

I\'m trying to map a json (string format) to an object and I get the following error

com.fasterxml.jackson.databind.JsonMappingException: Multiple back-

4条回答
  •  太阳男子
    2021-02-11 19:21

    I think the best way to handle this is using @JsonIdentityInfo annotation.see the thread which demonstrate this.How to use @JsonIdentityInfo with circular references?

提交回复
热议问题