JAVA - JSON library that handles circular refrences
Please let开发者_JAVA技巧 me know the JSON Library that can handle circular refrences. If there is any please explain how to use it
Neither json-lib nor Gson were able to solve the problem. I then used JACKSON's libraray and it did the trick.
Please refer to the below links.
http://wiki.fasterxml.com/JacksonJsonViews
http://wiki.fasterxml.com/JacksonFeatureBiDirReferences
精彩评论