# Uses of Class
org.apache.sling.commons.json.JSONTokener

Packages that use JSONTokener
Package
Description
org.apache.sling.commons.json
org.apache.sling.commons.json.http
org.apache.sling.commons.json.util
org.apache.sling.commons.json.xml

## Uses of JSONTokener in org.apache.sling.commons.json

Constructors in org.apache.sling.commons.json with parameters of type JSONTokener
Modifier
Constructor
Description
``
`JSONArray(JSONTokener x)`
Deprecated.
Construct a JSONArray from a JSONTokener.
``
`JSONObject(JSONTokener x)`
Deprecated.
Construct a JSONObject from a JSONTokener.

## Uses of JSONTokener in org.apache.sling.commons.json.http

Subclasses of JSONTokener in org.apache.sling.commons.json.http
Modifier and Type
Class
Description
`class`
`HTTPTokener`
Deprecated.

## Uses of JSONTokener in org.apache.sling.commons.json.util

Methods in org.apache.sling.commons.json.util with parameters of type JSONTokener
Modifier and Type
Method
Description
`static JSONArray`
CDL.`rowToJSONArray(JSONTokener x)`
Deprecated.
Produce a JSONArray of strings from a row of comma delimited values.
`static JSONArray`
CDL.`rowToJSONArray(JSONTokener x, char delimiter)`
Deprecated.
Produce a JSONArray of strings from a row of comma delimited values.
`static JSONObject`
CDL.`rowToJSONObject(JSONArray names, JSONTokener x)`
Deprecated.
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
`static JSONObject`
CDL.`rowToJSONObject(JSONArray names, JSONTokener x, char delimiter)`
Deprecated.
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)`
Deprecated.
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(JSONArray names, JSONTokener x, char delimiter)`
Deprecated.
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)`
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
`static JSONArray`
CDL.`toJSONArray(JSONTokener x, char delimiter)`
Deprecated.
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
`static void`
Validator.`validate(JSONTokener x)`
Deprecated.
Strictly validate the JSON text

## Uses of JSONTokener in org.apache.sling.commons.json.xml

Subclasses of JSONTokener in org.apache.sling.commons.json.xml
Modifier and Type
Class
Description
`class`
`XMLTokener`
Deprecated.