JSON-Java is a reference implementation of a JSON package in Java that parses JSON documents into Java objects and generates new JSON documents from Java classes.
The package solves the problem of working with JSON data in Java applications by providing encoders and decoders for JSON. Beyond basic JSON handling, it can convert between JSON and XML, HTTP headers, Cookies, and CDL formats. The implementation prioritizes reliable and consistent results, adherence to the JSON specification, and ease of integration into other projects. It has no external dependencies and is designed for fast execution with a low memory footprint while maintaining backward compatibility across Java versions.
The tool suits any Java project that needs to parse or generate JSON without introducing additional dependencies. It is particularly valuable for applications where simplicity and minimal overhead matter, or where the JSON specification compliance and conversion capabilities to related formats like XML are needed. The project is in the public domain, meaning it can be used freely in commercial projects without attribution requirements or licensing restrictions.
The project is in maintenance phase and accepts bug fixes, code improvements, and unit test coverage changes. The tool supports building through command-line compilation, Maven, and Gradle, with unit tests executable through multiple build systems or individually in an IDE. Security information for release signing keys is documented separately, and contribution guidelines are provided for those wishing to participate.