🌐
GitHub
github.com › stleary › JSON-java
GitHub - stleary/JSON-java: A reference implementation of a JSON package in Java. · GitHub
The JSON-Java package is a reference implementation that demonstrates how to parse JSON documents into Java objects and how to generate new JSON documents from the Java classes. The files in this package implement JSON encoders and decoders.
Starred by 4.7K users
Forked by 2.6K users
Languages   Java
🌐
GitHub
github.com › eskatos › org.json-java
GitHub - eskatos/org.json-java: Maven build of Douglas Crockford JSON-Java sources for publishing.
Maven build of Douglas Crockford JSON-Java sources for publishing. - eskatos/org.json-java
Starred by 6 users
Forked by 5 users
🌐
Stleary
stleary.github.io › JSON-java › index.html
Generated Documentation (Untitled)
JavaScript is disabled on your browser · Frame Alert · This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version
🌐
GitHub
github.com › eskatos › org.json-java › blob › master › README.md
org.json-java/README.md at master · eskatos/org.json-java
Maven build of Douglas Crockford JSON-Java sources for publishing. - org.json-java/README.md at master · eskatos/org.json-java
Author   eskatos
🌐
GitHub
github.com › tdunning › open-json › blob › master › src › main › java › org › json › JSONObject.java
open-json/src/main/java/org/json/JSONObject.java at master · tdunning/open-json
package org.json; · import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import java.util.TreeMap; ·
Author   tdunning
🌐
GitHub
github.com › stleary › JSON-java › blob › master › src › main › java › org › json › JSONObject.java
JSON-java/src/main/java/org/json/JSONObject.java at master · stleary/JSON-java
A reference implementation of a JSON package in Java. - JSON-java/src/main/java/org/json/JSONObject.java at master · stleary/JSON-java
Author   stleary
🌐
Stleary
stleary.github.io › JSON-java
Package org.json
JavaScript is disabled on your browser · Frame Alert · This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version
🌐
GitHub
github.com › chargebee › JSON-java
GitHub - chargebee/JSON-java
JSON in Java [package org.json] Douglas Crockford douglas@crockford.com 2011-02-02 JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ The files in this package implement JSON encoders/decoders in Java.
Starred by 2 users
Forked by 2 users
Languages   Java 100.0% | Java 100.0%
Find elsewhere
🌐
GitHub
github.com › fangyidong › json-simple › blob › master › src › main › java › org › json › simple › JSONObject.java
json-simple/src/main/java/org/json/simple/JSONObject.java at master · fangyidong/json-simple
A simple Java toolkit for JSON. You can use json-simple to encode or decode JSON text. - json-simple/src/main/java/org/json/simple/JSONObject.java at master · fangyidong/json-simple
Author   fangyidong
🌐
Cliftonlabs
cliftonlabs.github.io › json-simple
json-simple
After redesigning the library to be backwards compatible it was decided that support for java 2 to 6 would be dropped in favor of generics (thus a 2.* version) as it was the most avidly requested feature. The library was also written in the package org.json.simple so a maven artifact under ...
🌐
GitHub
github.com › stleary › JSON-java › blob › master › src › main › java › org › json › JSONArray.java
JSON-java/src/main/java/org/json/JSONArray.java at master · stleary/JSON-java
A reference implementation of a JSON package in Java. - JSON-java/src/main/java/org/json/JSONArray.java at master · stleary/JSON-java
Author   stleary
🌐
Maven Central
central.sonatype.com › artifact › org.json › json
Maven Central: org.json:json - Sonatype
See http://www.JSON.org/ The files in this package implement JSON encoders/decoders in Java. It also includes the capability to convert between JSON and XML, HTTP headers, Cookies, and CDL. This is a reference implementation. There are a large number of JSON packages in Java.
Top answer
1 of 3
26

As far as I can tell (in December 2013) ...

  • Douglas Crockford's master source repository for "json.org" is now on GitHub - https://github.com/douglascrockford/JSON-java. (The GIT history starts in 2010, and the latest change in "master" is a couple of weeks ago.)

  • Paul Merlin (aka "eskatos") has Mavenized the code: https://github.com/eskatos/org.json-java

  • Binary "org.json" JAR files are "regularly" built from Paul Merlin's tree and pushed to Maven Central. You can find them via the "here" link in Paul's README.md file; see the line above.

  • There are other older (pre-2010) binary releases of the "org.json" JAR file in Maven Central under various guises; review the search results for this link" http://mvnrepository.com/search.html?query=org.json.

The copyright dates in the "org.json" source code don't mean much. They clearly aren't updated when the code is updated. However, Douglas Crockford does update the @version javadoc tags, at least in some commits.

UPDATE (December 2016)

As of some time in 2015, Douglas Crockford has passed ownership of the Github repository to Sean Leary. The old Github URL for the project now redirects to https://github.com/stleary/JSON-java. The project continues to be relatively active.

See also: Where has json.org java library gone?

2 of 3
10

I would recommend using json-simple or one of the other JSON libraries for Java that have developed. This has features the JSON.org API lacks (and I think it will stay that way).

For instance, the json-simple version of JSONObject implements Map and JSONArray implements List. It also has other features, like a SAX-style API.

🌐
GitHub
github.com › chargebee › JSON-java › blob › master › src › test › java › org › json › TestJSONTokener.java
JSON-java/src/test/java/org/json/TestJSONTokener.java at master · chargebee/JSON-java
* File: TestJSONTokener.java Author: JSON.org · */ package org.json; · import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.io.StringReader; · import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONTokener; ·
Author   chargebee
🌐
GitHub
github.com › ning › org-json › blob › master › src › main › java › org › json › JSONWriter.java
org-json/src/main/java/org/json/JSONWriter.java at master · ning/org-json
Ning maintained fork of the json.org JSON library. Bugfixes, JDK 1.6 compatibility, maven build and other general goodness. - org-json/src/main/java/org/json/JSONWriter.java at master · ning/org-json
Author   ning
🌐
Maven Repository
mvnrepository.com › artifact › org.json › json
Maven Repository: org.json » json
December 24, 2025 - JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. ... JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ The files in this package implement JSON encoders/decoders in Java.
🌐
Stleary
stleary.github.io › JSON-java › org › json › JSONObject.html
JSONObject
If the object is null, return the NULL object. If it is an array or collection, wrap it in a JSONArray. If it is a map, wrap it in a JSONObject. If it is a standard property (Double, String, et al) then it is already wrapped. Otherwise, if it comes from one of the java packages, turn it into ...
🌐
GitHub
github.com › stleary › JSON-java › blob › master › docs › RELEASES.md
JSON-java/docs/RELEASES.md at master · stleary/JSON-java
A reference implementation of a JSON package in Java. - JSON-java/docs/RELEASES.md at master · stleary/JSON-java
Author   stleary