Top "Circular-reference" questions

A circular reference is a series of references where the last object references the first, resulting in a closed loop.

How to avoid the "Circular view path" exception with Spring MVC test

I have the following code in one of my controllers: @Controller @RequestMapping("/preference") public class PreferenceController { @RequestMapping(method = RequestMethod.GET, …

spring spring-mvc circular-reference thymeleaf spring-mvc-test
Converting circular structure to JSON -- Any way to find what field it is complaining about?

I'm trying to stringify(...) an object in Chrome, and I keep getting a "Converting circular structure to JSON" message, despite …

json google-chrome circular-reference
How to serialize DOM node to JSON even if there are circular references?

I want to serialize DOM node or even whole window to JSON. For example: >> serialize(document) -> { "…

javascript json dom serialization circular-reference
Spring circular reference example

I have a circular reference in one of my projects at work using spring, which I am unable to fix, …

java spring dependency-injection autowired circular-reference
Json and Circular Reference Exception

I have an object which has a circular reference to another object. Given the relationship between these objects this is …

asp.net-mvc json serialization circular-reference
How To Fix Circular Reference Error When Dealing With Json

This question is a part of my original post here Get Data Into Extjs GridPanel Below is my Controller that …

c# json asp.net-mvc-3 extjs circular-reference
How to use @JsonIdentityInfo with circular references?

I am trying to use the @JsonIdentityInfo from Jackson 2 as described here. For testing purposes I created the following two …

java json jackson circular-reference jackson2
Json and Java - Circular Reference

I'm having and issue with the Circular reference. I have Rest Webservices which returns objects to the front end, the …

java json jackson circular-reference
Using print_r and var_dump with circular reference

I'm using the MVC framework Symfony, and it seems a lot of the built-in objects I want to debug have …

php debugging circular-reference
Garbage collector and circular reference

Consider these two classes: public class A { B b; public A(B b) { this.b = b; } } public class B { A …

c# garbage-collection circular-reference