Uses of Class
org.json.JSONTokener
-
Uses of JSONTokener in org.json
Subclasses of JSONTokener in org.jsonModifier and TypeClassDescriptionclassThe HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.classThe XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.Methods in org.json with parameters of type JSONTokenerModifier and TypeMethodDescriptionprivate static booleanJSONArray.checkForSyntaxError(JSONTokener x, JSONParserConfiguration jsonParserConfiguration, boolean isInitial) Convenience function.private static voidJSONObject.checkKeyForStrictMode(JSONTokener jsonTokener, JSONParserConfiguration jsonParserConfiguration, Object obj) Throws error if key violates strictModeprivate static StringCDL.getValue(JSONTokener x, char delimiter) Get the next value.private static booleanJSONObject.parseEndOfKeyValuePair(JSONTokener jsonTokener, JSONParserConfiguration jsonParserConfiguration, boolean isInitial) Checks for valid end of key:value pairprivate booleanJSONObject.parseJSONObject(JSONTokener jsonTokener, JSONParserConfiguration jsonParserConfiguration, boolean isInitial) Parses entirety of JSON objectstatic JSONArrayCDL.rowToJSONArray(JSONTokener x) Produce a JSONArray of strings from a row of comma delimited values.static JSONArrayCDL.rowToJSONArray(JSONTokener x, char delimiter) 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 JSONObjectCDL.rowToJSONObject(JSONArray names, JSONTokener x, char delimiter) 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(JSONArray names, JSONTokener x, char delimiter) 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.static JSONArrayCDL.toJSONArray(JSONTokener x, char delimiter) Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.Constructors in org.json with parameters of type JSONTokenerModifierConstructorDescriptionConstruct a JSONArray from a JSONTokener.JSONArray(JSONTokener x, JSONParserConfiguration jsonParserConfiguration) Constructs a JSONArray from a JSONTokener and a JSONParserConfiguration.Construct a JSONObject from a JSONTokener.JSONObject(JSONTokener x, JSONParserConfiguration jsonParserConfiguration) Construct a JSONObject from a JSONTokener with custom json parse configurations.