Skip to content

Commit c4ae528

Browse files
committed
Updated readme.
1 parent 8bf9643 commit c4ae528

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

README

100755100644
Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
JSON in Java [package org.json]
28

39
Douglas Crockford
@@ -9,15 +15,15 @@ douglas@crockford.com
915
JSON is a light-weight, language independent, data interchange format.
1016
See 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

1622
This 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
1824
then, 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,
2127
not evil." If your conscience cannot live with that, then choose a different
2228
package.
2329

@@ -29,7 +35,7 @@ to produce a map-like object. The object provides methods for manipulating its
2935
contents, and for producing a JSON compliant object serialization.
3036

3137
JSONArray.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
3339
its contents, and for producing a JSON compliant array serialization.
3440

3541
JSONTokener.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
3945
by this package.
4046

4147

42-
JSONString.java: The JSONString interface requires a toJSONString method,
48+
JSONString.java: The JSONString interface requires a toJSONString method,
4349
allowing 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
4652
building 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
4955
JSON text through a writer.
50-
56+
5157

5258
CDL.java: CDL provides support for converting between JSON and comma
5359
delimited lists.

0 commit comments

Comments
 (0)