MVN

org.json : json

Maven & Gradle

Jun 18, 2023
3.7k usages
4.4k stars

JSON in Java · 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. There is a large number of JSON packages in Java. Perhaps someday the Java community will standardize on one. Until then, choose carefully.

<dependency>
    <groupId>org.json</groupId>
    <artifactId>json</artifactId>
    <version>20230618</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.json : json to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 20230618

All Versions

Choose a version of org.json : json to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
20230618
json-20230618
20230227
json-20230227
20220924
json-20220924
CVE-2022-45688
20220320
json-20220320
CVE-2022-45688
20211205
json-20211205
3 vulnerabilities
20210307
json-20210307
3 vulnerabilities
20201115
json-20201115
3 vulnerabilities
20200518
json-20200518
3 vulnerabilities
20190722
json-20190722
4 vulnerabilities
20180813
json-20180813
4 vulnerabilities
20180130
json-20180130
4 vulnerabilities
20171018
json-20171018
5 vulnerabilities
20170516
json-20170516
6 vulnerabilities
20160810
json-20160810
6 vulnerabilities
20160807
json-20160807
6 vulnerabilities
20160212
json-20160212
6 vulnerabilities
20151123
json-20151123
6 vulnerabilities
20150729
json-20150729
6 vulnerabilities
20141113
json-20141113
6 vulnerabilities
20140107
json-20140107
6 vulnerabilities
20131018
json-20131018
6 vulnerabilities
20090211
json-20090211
6 vulnerabilities
20080701
json-20080701
6 vulnerabilities
20070829
json-20070829
6 vulnerabilities

How to add a dependency to Maven

Add the following org.json : json maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.json</groupId>
    <artifactId>json</artifactId>
    <version>20230618</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.json : json gradle dependency to your build.gradle file:

implementation 'org.json:json:20230618'

Gradle Kotlin DSL: Add the following org.json : json gradle kotlin dependency to your build.gradle.kts file:

implementation("org.json:json:20230618")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.json : json sbt scala dependency to your build.sbt file:

libraryDependencies += "org.json" % "json" % "20230618"

Advertisement

Dependencies from Group

Jun 18, 2023
3.7k usages
4.4k stars
Feb 25, 2012
34 usages
2 stars

Discover Dependencies

Jun 03, 2023
20.8k usages
May 30, 2023
10.7k usages
2.2k stars
Apr 17, 2008
8.5k usages
May 30, 2023
20.7k usages
3.4k stars
Jul 13, 2023
4.4k usages
54.7k stars
Aug 24, 2023
7.8k usages
72.2k stars
Mar 17, 2023
3.2k usages
1.4k stars
Aug 24, 2023
2.7k usages
72.2k stars
Jul 05, 2014
8.7k usages
Feb 14, 2023
115 usages
183 stars