Where can I download the latest org.json JAR?
The API shows 2010/01/05 for JSONObject
and my last download was 09/06/15. I can't find it on sourceforge or anywhere else. Can someone direct to the latest that will have an API at least as specified as of 2010/01/05?
Download the latest version of org. json jar file from org. json @ MVNRepository.
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. This is a reference implementation.
org.json.JSONObject. A modifiable set of name/value mappings. Names are unique, non-null strings. Values may be any mix of JSONObjects , JSONArrays , Strings, Booleans, Integers, Longs, Doubles or NULL .
simple package contains important classes like JSONValue, JSONObject, JSONArray, JsonString and JsonNumber. We need to install the json-simple. jar file to execute a JSON program whereas org. json library has classes to parse JSON for Java.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With