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
The org.json package can be built from the command line, Maven, and Gradle. The unit tests can be executed from Maven, Gradle, or individually in an IDE e.g.
Starred by 4.7K users
Forked by 2.6K users
Languages   Java
🌐
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
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 › FasterXML › jackson-datatype-json-org
GitHub - FasterXML/jackson-datatype-json-org: (DEPRECATED) Support for org.json data types, to ease migration out of code that uses them · GitHub
(DEPRECATED) Support for org.json data types, to ease migration out of code that uses them - FasterXML/jackson-datatype-json-org
Starred by 51 users
Forked by 21 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
🌐
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
// Note: this class was written without inspecting the non-free org.json sourcecode. · /** * A modifiable set of name/value mappings. Names are unique, non-null strings. * Values may be any mix of {@link JSONObject JSONObjects}, {@link JSONArray · * JSONArrays}, Strings, Booleans, Integers, Longs, Doubles or {@link #NULL}. * Values may not be {@code null}, {@link Double#isNaN() NaNs}, {@link ·
Author   tdunning
🌐
GitHub
github.com › eskatos › org.json-java › blob › master › README.md
org.json-java/README.md at master · eskatos/org.json-java
This project is a single pom.xml file directly using the org.json package source from Douglas Crockford repository via a git submodule.
Author   eskatos
🌐
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
* @author JSON.org · * @version 2016-08-15 · */ public class JSONObject { /** * JSONObject.NULL is equivalent to the value that JavaScript calls null, * whilst Java's null is equivalent to the value that JavaScript calls · * undefined.
Author   stleary
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
* $Id: JSONObject.java,v 1.1 2006/04/15 14:10:48 platform Exp $ · * Created on 2006-4-10 · */ · package org.json.simple; · · import java.io.IOException; · import java.io.StringWriter; · import java.io.Writer; · import java.util.HashMap; ·
Author   fangyidong
🌐
GitHub
github.com › everit-org › json-schema
GitHub - everit-org/json-schema: JSON Schema validator for java, based on the org.json API
This project is an implementation of the JSON Schema Draft v4, Draft v6 and Draft v7 specifications. It uses the org.json API (created by Douglas Crockford) for representing JSON data.
Starred by 898 users
Forked by 280 users
Languages   Java 100.0% | Java 100.0%
🌐
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
package org.json; · · import java.io.IOException; · import java.io.Writer; · · /* · Copyright (c) 2006 JSON.org · · Permission is hereby granted, free of charge, to any person obtaining a copy · of this software and associated documentation files (the "Software"), to deal ·
Author   ning
🌐
GitHub
github.com › stleary › JSON-java › blob › master › docs › RELEASES.md
JSON-java/docs/RELEASES.md at master · stleary/JSON-java
JSON-java releases can be found by searching the Maven repository for groupId "org.json" and artifactId "json".
Author   stleary
🌐
Cliftonlabs
cliftonlabs.github.io › json-simple
json-simple
The library was also written in the package org.json.simple so a maven artifact under the org.json.simple groupId made sense. Once all that work was done it was up to the merge with upstream to take over the rest. However, after many emails and external issues only the first part went according to plan. So, the project is now maintained by Clifton Labs and the maven artifacts are now published under the groupId 'com.github.cliftonlabs' (formerly 'com.googlecode.json-simple').
🌐
GitHub
github.com › suitmedia › org.json.me
GitHub - suitmedia/org.json.me: JSON Library for Java ME
JSON Library for Java ME. Contribute to suitmedia/org.json.me development by creating an account on GitHub.
Starred by 4 users
Forked by 4 users
🌐
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%
🌐
GitHub
github.com › emacsorphanage › org-json
GitHub - emacsorphanage/org-json: Conversion between org and json
Conversion between org and json. Contribute to emacsorphanage/org-json development by creating an account on GitHub.
Starred by 2 users
Forked by 3 users
Languages   Emacs Lisp 100.0% | Emacs Lisp 100.0%
🌐
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