I use Jackson library for serialization of my pojo objects into JSON representation. For example I have class A and class B:
JSON
class A { privat
There is no support for level-based ignorals.
But you can get Jackson to handle cyclic references with 2.0, see for example "Jackson 2.0 released" for explanation on how to use @JsonIdentityInfo.
@JsonIdentityInfo