JSON (JavaScript Object Notation) is a lightweight text-based open standard
designed for human-readable data interchange.
Douglas Crockford has provided a reference implementation of JSON in Java at
http://json.org/ useful for JSON
serialization and deserialization.
Click here
to download the compiled library.
The following example shows using append method of JSONObject.
It appends values to JSONArray under a key.