json maven dependency

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. 

JSON In Java Maven Dependency

Copy below JSON In Java maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.json/json -->
<dependency>
    <groupId>org.json</groupId>
    <artifactId>json</artifactId>
    <version>20190722</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

JSON In Java Gradle Dependency

Copy below JSON In Java gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.json/json
compile group: 'org.json', name: 'json', version: '20190722'

Download JAR File

Check for Latest Release

Reference



Comments