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?

Answer from Stephen C on Stack Overflow
🌐
GitHub
github.com › stleary › JSON-java
GitHub - stleary/JSON-java: A reference implementation of a JSON package in Java. · GitHub
javac -cp .;json-java.jar Test.java (Windows) javac -cp .:json-java.jar Test.java (Unix Systems) Test file contents · import org.json.JSONObject; public class Test { public static void main(String args[]){ JSONObject jo = new JSONObject("{ \"abc\" : \"def\" }"); System.out.println(jo); } } Execute the Test file ·
Starred by 4.7K users
Forked by 2.6K users
Languages   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.

🌐
Maven Repository
mvnrepository.com › artifact › org.json › json
Maven Repository: org.json » json
December 24, 2025 - There are a large number of JSON packages in Java. Perhaps someday the Java community will standardize on one. Until then, choose carefully. ... aar android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library logging maven mobile module npm osgi persistence plugin resources rlang sdk server service spring sql starter testing tools ui web webapp
🌐
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
🌐
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
🌐
Cliftonlabs
cliftonlabs.github.io › json-simple
json-simple
Download json-simple's latest release jar, javadocs, and source.
🌐
Jar-Download
jar-download.com › home › org.json
Download org.json JAR files with all dependencies
Download org.json JAR files ✓ With dependencies ✓ Documentation ✓ Source code
Find elsewhere
🌐
Maven Central
central.sonatype.com › artifact › org.json › json
org.json:json - Maven Central
</description> <url>https://github.com/douglascrockford/JSON-java</url> <scm> <url>https://github.com/douglascrockford/JSON-java.git</url> <connection>scm:git:git://github.com/douglascrockford/JSON-java.git</connection> <developerConnection>scm:git:git@github.com:douglascrockford/JSON-java.git</developerConnection> </scm> <licenses> <license> <name>Public Domain</name> <url>https://github.com/stleary/JSON-java/blob/master/LICENSE</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>Douglas Crockford</name> <email>douglas@crockford.com</email> </develope
🌐
Maven Repository
mvnrepository.com › artifact › org.json › json › 20140107
Maven Repository: org.json » json » 20140107
January 7, 2014 - 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. It also includes the capability to convert between JSON and XML, HTTP headers, Cookies, and CDL.
Published   Jan 07, 2014
Version   20140107
🌐
SourceForge
sourceforge.net › projects › json-java.mirror › files › 20240205 › org.json-1.6-20240205.jar
Download org.json-1.6-20240205.jar (JSON-java)
This is an exact mirror of the JSON-java project, hosted at https://github.com/stleary/JSON-java. SourceForge is not affiliated with JSON-java.
🌐
GitHub
gist.github.com › mcSw4p › ab37318dbd394f4b5cc5de5d6d3f6ab3
JSON Simple guide · GitHub
Download ZIP · JSON Simple guide · Raw · 001-File-Read-Write.md · [maven | .jar(direct) | .jar] // JSON Simple imports import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; File jsonFile = new File("/hello.json"); // Do with as you please /* * Simple key value pairs */ JSONParser parser = new JSONParser(); try{ JSONObject jObj = (JSONObject) parser.parse(new FileReader(jsonFile)); } catch (IOException | ParseException e) { e.printStackTrace(); } String value = (String) jObj.get("world");
🌐
TutorialsPoint
tutorialspoint.com › org_json › org_json_quick_guide.htm
Org.Json - Quick Guide
Download the latest version of org.json jar file from org.json @ MVNRepository.
🌐
Jar-Download
jar-download.com › home › com.github.cliftonlabs › json-simple › 2.1.2 › source code › jsonobject.java
org.json.simple.JSONObject Maven / Gradle / Ivy
org.json.simple.JSONObject maven / gradle build tool code. The class is part of the package ➦ Group: com.github.cliftonlabs ➦ Artifact: json-simple ➦ Version: 2.1.2
🌐
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
Open JSON - a truly open source JSON implementation - open-json/src/main/java/org/json/JSONObject.java at master · tdunning/open-json
Author   tdunning
🌐
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
🌐
Java2s
java2s.com › Code › Jar › j › Downloadjavajsonjar.htm
java json - Jar File Download
java2s.com | Email: | © Demo Source and Support. All rights reserved