You can see this as a one-to-many special case; therefore, you will annotate the link from parent to "child" as @JsonManagedReference, and "child" - "parent" as @JsonBackReference.
Another document that may be helpful is the FasterXML Jackson Wiki ; the first example is for a one-to-one relationship and should be applicable to your case.
Staxman
source share