Adrian Crum wrote:
Adam Heath wrote:
ObjectToJSONString, and JSONStringToObject, is fairly straight forward
to implement. However, I still need to do my 'resolve' feature.
Possibily an ObjectToJSONResolveString, or some such.
And, I could get rid of the UtilIO.readObject stuff, by implementing
an ObjectToFlatAttribute system.
When you were evaluating JSON libraries, did you take a look at XStream?
http://xstream.codehaus.org/index.html
I just integrated that library into OFBiz and created List and Map
to/from XMLString converters. It was pretty easy and they are
reflective. The library also supports JSON.