JSON > FLEX JSON > How to Serialize Simple Java Object
How to Serialize Simple Java Object
Flexjson is a lightweight java library for serializing and de-serializing
java beans, maps, arrays and collections in JSON format.
Get the latest binaries from
https://sourceforge.net/projects/flexjson/.
This requires the library flexjson-2.1.jar to be in classpath.
The following example shows how to serialize a Java Object in JSON format.