zqqnancy / json-simple

Automatically exported from code.google.com/p/json-simple
Apache License 2.0
0 stars 0 forks source link

Code addition: JavaBeans -> primitive objects suitable for serialization #79

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by jon.cham...@gmail.com on 10 Aug 2013 at 4:04