json

json

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. The license includes this restriction: "The software shall be used for good, not evil." If your conscience cannot live with that, then choose a different package. The package compiles on Java 1.2 thru Java 1.4.
https://github.com/douglascrockford/JSON-java
The JSON License
Douglas Crockford
文件下载
文件名 操作
json-20131018.jar 下载
json-20131018.pom 下载
json-20131018-sources.jar 下载
Apache Maven
<dependency>
  <groupId>org.json</groupId>
  <artifactId>json</artifactId>
  <version>20131018</version>
</dependency>
Gradle Groovy
implementation 'org.json:json:20131018'
Gradle Kotlin
implementation("org.json:json:20131018")
Scala SBT
libraryDependencies += "org.json" % "json" % "20131018"
Groovy Grape
@Grapes(
  @Grab(group='org.json', module='json', version='20131018')
)
Apache Ivy
<dependency org="org.json" name="json" rev="20131018" />
Leiningen
[org.json/json "20131018"]
Apache Buildr
'org.json:json:jar:20131018'