Uses of Class
org.opencms.json.JSONTokener
Packages that use JSONTokener
Package
Description
Classes to create JSON objects and arrays for JavaScript in OpenCms.
-
Uses of JSONTokener in org.opencms.json
Subclasses of JSONTokener in org.opencms.jsonModifier and TypeClassDescriptionclassThe XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.Methods in org.opencms.json with parameters of type JSONTokenerModifier and TypeMethodDescriptionstatic JSONArrayCDL.rowToJSONArray(JSONTokener x) Produce a JSONArray of strings from a row of comma delimited values.static JSONObjectCDL.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 JSONArrayCDL.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 JSONArrayCDL.toJSONArray(JSONTokener x) Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.Constructors in org.opencms.json with parameters of type JSONTokenerModifierConstructorDescriptionConstruct a JSONArray from a JSONTokener.Construct a JSONObject from a JSONTokener.JSONObject(JSONTokener x, boolean sorted) Construct a JSONObject from a JSONTokener, optionally sorted.