Jackson – serialization of entities with birectional relationships (avoiding cycles)

Jackson 2.0 does support full cyclic object references. See “Jackson 2.0 released” (section ‘Handle Any Object Graphs, even Cyclic ones!’) for an example. Basically, you will need to use new @JsonIdentityInfo for types that require id/idref style handling. In your case this would be both Parent and Child types (if one extends the other, just … Read more