Json-lib 0.9 review

Download
by rbytes.net on

JSON (JavaScript Object Notation) is a lightweight data-interchange format

License: The Apache License 2.0
File size: 0K
Developer: Andres Almiray
0 stars award from rbytes.net

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. Json-lib is easy for machines to parse and generate.

It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.

These properties make JSON an ideal data-interchange language. This library is based on the work by Douglas Crockford in http://www.json.org/java , adding support for java arrays and object graphs. With this library it is possible to transform the following java structures to JSON: java beans, java arrays, collections, maps; composites of the 4 previous types.

The main driver for this library is to provide the means to transform data between a server and an AJAX enabled application.

What's New in This Release:
Additions:
Added FAQ and "Who is using it" sections.
Added new JSONSerializer utility class.
Added new interface JSON to identify a valid JSON type (JSONObject, JSONArray, JSONNull).
Added support for JSONString in builders and value setters. FR 1557286.

Updates:
Removed JSONObject.append() as it was very similar to JSONObject.accumulate()
JSONObject and JSONarray will convert Byte/Short/Long to Integer, Float to Double when needed.
JSONArray.fromObject now allows creation of a single element array (all valid types).
Cleaned up the core API, moved mixed purpouse classes to net.sf.json.util
Updated front page and howto documentation.

Fixes:
1564992 Multiple nested JSONException.
1553617 JSONObject.toBean() generates a ClassCastException.

Json-lib 0.9 keywords