S.D.I.-Consulting BVBA

Menu:

JSONTOOLS, Java Tools for JSON

JSON (JavaScript Object Notation) is a file format to represent data. It is similar to XML but has different characteristics. It is suited to represent configuration information, implement communication protocols and so on. XML is more suited to represent annotated documents. JSON parsing is very fast, the parser can be kept lean and mean. It is easy for humans to read and write. 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. The format is specified on http://www.json.org/, for the details please visit this site.

JSON is a very simple format. As a result, the parsing and rendering is fast and easy, you can concentrate on the content of the file in stead of the format. In XML it is often difficult to fully understand all features (e.g. name spaces, validation, ...). As a result, XML tends to become part of the problem i.s.o. the solution. In JSON everything is well defined, all aspects of the representation are clear, you can concentrate on how you are going to represent your application concepts.

Following tools are available:

  1. Parser: Parse JSON text files and convert these to a Java model.
  2. Renderer: Render a Java representation into text.
  3. Serializer: Serialize plain POJO clusters to a JSON representation. The goal is to provide a serializing mechanism which can cope with all kinds of Java datastructures (recursion, references, primitive types, ...)
  4. Mapper: Map POJO to JSON, this time the JSON text should be as clean as possible. This tool is the best choice when data has to be communicated between Java and other programming languages who can parse JSON.
  5. Validator: Validate the contents of a JSON file using a JSON schema.

Project Links

Related News

JSON Core release 1.6 (12 jun 2008)
The JSON Core 1.6 has been released. JSON Tools is a collection of Java libraries that let you manipulate JSON formatted text.  The new release contains a number of improvements and some new features that were suggested by the users.
JSON Core release 1.5 (31 dec 2006)
The JSON Core 1.5 has been released. JSON Tools is a collection of Java libraries that let you manipulate JSON formatted text. It is mainly a bug fix release.
JSON Core release 1.4 (25 okt 2006)
The JSON Core 1.4 has been released. JSON Tools is a collection of Java libraries that let you manipulate JSON formatted text. The Core library contains the central part of the tools. Since I received multiple requests from users to improve the usability of the JSON text I added a brand new Mapper tool.
JSON Tools release 1.2 (14 jul 2006)
The JSON Tools 1.2 has been released. JSON Tools is a collection of Java libraries that let you manipulate JSON formatted text.
JSON Tools available on Maven 2 repository (12 mei 2006)
The JSON Tools framework 1.1 was made available on the main maven 2 public repository. Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
New release of JSON Tools (4 mei 2006)
Version 1.0 was released of the Java JSON Tools. This library allows you to handle JSON data files in an easy way. JSON (JavaScript Object Notation) is a file format to represent data. It is similar to XML but has different characteristics. It is suited to represent configuration information, implement communication protocols and so on.