| 接口 | 说明 |
|---|---|
| I_CmsJsonifable |
To convert objects to json.
|
| I_JSONString |
The
I_JSONString interface allows a toJSONString()
method so that a class can change the behavior of
JSONObject.toString(), JSONArray.toString(),
and JSONWriter.value(Object). |
| 类 | 说明 |
|---|---|
| CDL |
This provides static methods to convert comma delimited text into a
JSONArray, and to covert a JSONArray into comma delimited text.
|
| JSONArray |
A JSONArray is an ordered sequence of values.
|
| JSONML |
This provides static methods to convert an XML text into a JSONObject,
and to convert a JSONObject into an XML text using the JsonML transform.
|
| JSONObject |
A JSONObject is an unordered collection of name/value pairs.
|
| JSONObject.Null |
JSONObject.NULL is equivalent to the value that JavaScript calls null,
whilst Java's null is equivalent to the value that JavaScript calls
undefined.
|
| JSONStringer |
JSONStringer provides a quick and convenient way of producing JSON text.
|
| JSONTokener |
A JSONTokener takes a source string and extracts characters and tokens from
it.
|
| JSONWriter |
JSONWriter provides a quick and convenient way of producing JSON text.
|
| XML |
This provides static methods to convert an XML text into a JSONObject,
and to covert a JSONObject into an XML text.
|
| XMLTokener |
The XMLTokener extends the JSONTokener to provide additional methods
for the parsing of XML texts.
|
| 异常错误 | 说明 |
|---|---|
| JSONException |
The JSONException is thrown by the JSON.org classes when things are amiss.
|
The classes were taken from the org.json package and modified for OpenCms.
CmsLocaleManager,
I_CmsMessageBundle