Open JSON - open source JSON implementation
Java
Clone or download
Pull request Compare This branch is 63 commits ahead of tdunning:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE.txt
NOTICE
README.md
pom.xml

README.md

Open JSON Build Status License

This code is extracted from the Android project to allow a clean-room implementation of the popular JSON API to be available under a free license as a small and independent dependency.

The original library is licensed under a standard BSD license with an additional line that requires the use of the software only for "non-evil" purposes. Since this is ill-defined, many downstream consumers of this softwarefind this license condition unacceptable. The moral is don't put jokes into legal documents. More background information is collected by the Debian team members at https://wiki.debian.org/qa.debian.org/jsonevil. Relicensing the original library is impossible. See https://github.com/stleary/JSON-java/issues/331 for more information.

Maven

    <dependency>
        <groupId>com.github.openjson</groupId>
        <artifactId>openjson</artifactId>
        <version>1.0.10</version>
    </dependency>

Acknowledgements

Thanks to the Android team for doing 99% of the work.

Thanks also to Simon Lessard for lending his critical eye and excellent suggestions.

Thanks to Tobias Soloschenko and Martin Grigorov with suggestions so open-json can help Apache Wicket avoid the problem.