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.
to download the compiled library.
The following example shows using accumulate method of JSONObject.
It accumulates the values under a key. If we put multiple values
for the same key, it replaces the value with a JSONArray containing all values.