I am trying to serialise my POJO which looks as follows using Jackson Object mapper, I get stack over flow exception, please help on this. Thanks in advance
public class ServiceCategoryModel {
private Integer svcCode;
private String svcName;
@JsonBackReference
private Collection<ServiceCategoryModel> children;
....
}