discomarathon / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

Circular dependency default exclusion strategy required for persistance frameworks #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Any JPA, hibernate or other persistance frameworks pojos include circular 
dependencies
2.serialization to json will fail (infinite loop) though standard 
serialization will happen normally

What is the expected output? What do you see instead?
Putting the serialized instances in a set and checking if they weren't 
already processed will simply resolve the problem

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by zhamdi.into on 12 Feb 2010 at 9:13

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 6 Oct 2010 at 5:56

GoogleCodeExporter commented 9 years ago
These problems are already handled by the library flexjson, maybe it could be a 
good idea to port that lib to GWT instead of building all features from scratch 
again!??

Original comment by zhamdi.into on 7 Oct 2010 at 7:49

GoogleCodeExporter commented 9 years ago
has this issue been fixed? If so, how do i use the new feature? I'm currently 
facing the same issue with gson 1.6

Original comment by varun...@gmail.com on 6 Apr 2011 at 7:54

GoogleCodeExporter commented 9 years ago
It is a perennial problem with ORMs and JSON. That feature would be much 
appreciated

Original comment by y.monsoon on 6 Oct 2011 at 2:31

GoogleCodeExporter commented 9 years ago
It is a perennial problem with ORMs and JSON. That feature would be much 
appreciated

Original comment by y.monsoon on 6 Oct 2011 at 2:34

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 30 Dec 2011 at 6:32