程序包 | 说明 |
---|---|
org.opencms.json |
Classes to create JSON objects and arrays for JavaScript in OpenCms.
|
限定符和类型 | 类和说明 |
---|---|
class |
XMLTokener
The XMLTokener extends the JSONTokener to provide additional methods
for the parsing of XML texts.
|
限定符和类型 | 方法和说明 |
---|---|
static JSONArray |
CDL.rowToJSONArray(JSONTokener x)
Produce a JSONArray of strings from a row of comma delimited values.
|
static JSONObject |
CDL.rowToJSONObject(JSONArray names,
JSONTokener x)
Produce a JSONObject from a row of comma delimited text, using a
parallel JSONArray of strings to provides the names of the elements.
|
static JSONArray |
CDL.toJSONArray(JSONArray names,
JSONTokener x)
Produce a JSONArray of JSONObjects from a comma delimited text string
using a supplied JSONArray as the source of element names.
|
static JSONArray |
CDL.toJSONArray(JSONTokener x)
Produce a JSONArray of JSONObjects from a comma delimited text string,
using the first row as a source of names.
|
构造器和说明 |
---|
JSONArray(JSONTokener x)
Construct a JSONArray from a JSONTokener.
|
JSONObject(JSONTokener x)
Construct a JSONObject from a JSONTokener.
|
JSONObject(JSONTokener x,
boolean sorted)
Construct a JSONObject from a JSONTokener, optionally sorted.
|