Recently I have used Jackson combined with Spring MVC for serializing domain objects.
In order to reduce cyclic references I have used @JsonIdentityInfo
like this:
@JsonIdentityInfo(generator=ObjectIdGenerators.IntSequenceGenerator.class, property="@modId")
public class Modulo implements Serializable {
...
}
What I am doing now is to receive those objects as JSON. I would like to deserialize the objects and access to them but I only can do that with first reference to each object. I cannot access to next references to same object. Mainly I don't know how to do that.
What I want to do is to create an HTML table with objects received. I would do this with Javascript or jQuery. Can you please help me? Thanks