Uses of Class
org.opencms.json.JSONTokener
Package
Description
Classes to create JSON objects and arrays for JavaScript in OpenCms.
-
Uses of JSONTokener in org.opencms.json
Modifier and TypeClassDescriptionclass
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.Modifier and TypeMethodDescriptionstatic 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.ModifierConstructorDescriptionConstruct a JSONArray from a JSONTokener.Construct a JSONObject from a JSONTokener.JSONObject
(JSONTokener x, boolean sorted) Construct a JSONObject from a JSONTokener, optionally sorted.