Package | Description |
---|---|
org.json |
Modifier and Type | Class and Description |
---|---|
class |
HTTPTokener
The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP
headers.
|
class |
XMLTokener
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML
texts.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
JSONArray(JSONTokener x)
Construct a JSONArray from a JSONTokener.
|
JSONObject(JSONTokener x)
Construct a JSONObject from a JSONTokener.
|