1+ Note:
2+ This implementation sort of breaks the JSON standard as it is based on
3+ the JSON object being ordered. This package's existance is due to a bug in
4+ SugarCRM 6.5 which forces you to use ordered JSON objects.
5+
6+
17JSON in Java [package org.json]
28
39Douglas Crockford
@@ -9,15 +15,15 @@ douglas@crockford.com
915JSON is a light-weight, language independent, data interchange format.
1016See http://www.JSON.org/
1117
12- The files in this package implement JSON encoders/decoders in Java.
13- It also includes the capability to convert between JSON and XML, HTTP
14- headers, Cookies, and CDL.
18+ The files in this package implement JSON encoders/decoders in Java.
19+ It also includes the capability to convert between JSON and XML, HTTP
20+ headers, Cookies, and CDL.
1521
1622This is a reference implementation. There is a large number of JSON packages
17- in Java. Perhaps someday the Java community will standardize on one. Until
23+ in Java. Perhaps someday the Java community will standardize on one. Until
1824then, choose carefully.
1925
20- The license includes this restriction: "The software shall be used for good,
26+ The license includes this restriction: "The software shall be used for good,
2127not evil." If your conscience cannot live with that, then choose a different
2228package.
2329
@@ -29,7 +35,7 @@ to produce a map-like object. The object provides methods for manipulating its
2935contents, and for producing a JSON compliant object serialization.
3036
3137JSONArray.java: The JSONObject can parse text from a String or a JSONTokener
32- to produce a vector-like object. The object provides methods for manipulating
38+ to produce a vector-like object. The object provides methods for manipulating
3339its contents, and for producing a JSON compliant array serialization.
3440
3541JSONTokener.java: The JSONTokener breaks a text into a sequence of individual
@@ -39,15 +45,15 @@ JSONException.java: The JSONException is the standard exception type thrown
3945by this package.
4046
4147
42- JSONString.java: The JSONString interface requires a toJSONString method,
48+ JSONString.java: The JSONString interface requires a toJSONString method,
4349allowing an object to provide its own serialization.
4450
45- JSONStringer.java: The JSONStringer provides a convenient facility for
51+ JSONStringer.java: The JSONStringer provides a convenient facility for
4652building JSON strings.
4753
48- JSONWriter.java: The JSONWriter provides a convenient facility for building
54+ JSONWriter.java: The JSONWriter provides a convenient facility for building
4955JSON text through a writer.
50-
56+
5157
5258CDL.java: CDL provides support for converting between JSON and comma
5359delimited lists.
0 commit comments