As part of a web project we needed a general way to serialize model objects
including attached hibernate objects and other Java data structures to json, to
make it available to JavaScript.
The code we ended up with is an entirely stand-alone solution that can be
applied to any data to convert it to Map/List/String/Number/Boolean/null prior
to sending it to JSONValue.toJSONString().
We are sending you this in the hope that it will be useful as an add-on to the
project, and that it can be distributed with the project.
Best regards,
Egil Möller
Original issue reported on code.google.com by redhog....@gmail.com on 31 Oct 2012 at 11:44
Original issue reported on code.google.com by
redhog....@gmail.com
on 31 Oct 2012 at 11:44Attachments: