开发者

JAVA - JSON library that handles circular refrences

开发者 https://www.devze.com 2023-01-16 04:48 出处:网络
Please let开发者_JAVA技巧 me know the JSON Library that can handle circular refrences. If there is any please explain how to use itNeither json-lib nor Gson were able to solve the problem. I then used

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

0

精彩评论

暂无评论...
验证码 换一张
取 消