Re: [jackson-user] @JsonIdentityInfo only abbreviate one element per list

2019-04-11 Thread luis . valladares
That doesn't really solve my issue because it doesnt scale really well, every time i add a relation to an entity i would need to find each reference to it and add the element to the JsonIgnoreProperties. It would be a great addition (from my POV) if the JsonIdentityInfo allows the user to selec

Re: [jackson-user] @JsonIdentityInfo only abbreviate one element per list

2019-04-09 Thread Tatu Saloranta
On Fri, Apr 5, 2019 at 11:38 AM wrote: > > Hi! > > So, im tryin to use @JsonIdentityInfo to avoid ciclical relationships because > i'm trying to serialize an hibernate entity with a one-to-many relationship. > > My functions needs to return a List of the child class element, and the > serializat

[jackson-user] @JsonIdentityInfo only abbreviate one element per list

2019-04-05 Thread luis . valladares
Hi! So, im tryin to use @JsonIdentityInfo to avoid ciclical relationships because i'm trying to serialize an hibernate entity with a one-to-many relationship. My functions needs to return a List of the child class element, and the serialization should include the parent but not the childs of t