JavaScript Object Notation (JSON4J)

The JavaScript Object Notation (JSON4J) library is an implementation of a set of JavaScript Object Notation (JSON) handling classes for use within Java™ environments.

The JSON4J library provides the following functions:
  • A simple Java model for constructing and manipulating data to be rendered as the JSON implementation.
  • A fast transform for XML to JSON conversion, for situations where conversion from an XML reply from a web service into a JSON structure is wanted for easy use in Asynchronous JavaScript and XML (Ajax) applications. The advantage of this is that AJAX-patterned applications can handle JSON formatted data without having to rely on ActiveX objects in Microsoft Internet Explorer XML transformations and other platform-specific XML parsers. In addition, JSON-formatted data tends to be more compact and efficient to transfer.
  • A JSON string and stream parser that can generate the corresponding JSONObject, which represents that JSON structure in Java. You can then change that JSONObject and serialize the changes back to the JSON implementation.

For more information about JSON, see www.json.org.

Icon that indicates the type of topic Concept topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: cjson4j.html