A B C E G I J L M N O P Q R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(int, Object) - Method in class com.api.json.JSONArray
- add(Object) - Method in class com.api.json.JSONArray
- addAll(int, Collection<?>) - Method in class com.api.json.JSONArray
- addAll(Collection<?>) - Method in class com.api.json.JSONArray
B
- BLANKS - Static variable in class com.api.json.JSON
- BLANKSTR - Static variable in class com.api.json.JSON
C
- cleanUpString(Object) - Static method in class com.api.json.JSON
-
Provides special formatting of embedded characters to enable valid JSON serialization
- com.api.json - package com.api.json
E
- eolIsSignificant(boolean) - Method in class com.api.json.JSONStreamTokenizer
-
Sets reporting when end of line is detected
- ESCAPE_SOLIDUS - Static variable in class com.api.json.JSON
- escapeSolidus(boolean) - Static method in class com.api.json.JSON
-
Use to set or unset escaping solidus characters in the output.
- expandUnicode(String) - Static method in class com.api.json.JSON
-
Expands the input String content to unicode sequences for non ASCII characters
G
- getNumber(Double, String) - Static method in class com.api.json.JSON
-
Parses the number corresponding with the supplied values.
I
- INCR - Static variable in class com.api.json.JSON
- isValidObject(Object) - Static method in class com.api.json.JSON
-
Used to determine if the supplied Object can be a valid JSON object.
- isValidObject(Object) - Static method in class com.api.json.JSONObject
-
Determines whether the supplied object is a valid JSON value
- isValidType(Class<?>) - Static method in class com.api.json.JSON
-
Used to determine in the supplied Class is a valid type for JSON objects.
- isValidType(Class<?>) - Static method in class com.api.json.JSONObject
-
Determines whether the supplied class is a valid JSON type
J
- JSON - Class in com.api.json
- JSON() - Constructor for class com.api.json.JSON
- JSONArray - Class in com.api.json
- JSONArray() - Constructor for class com.api.json.JSONArray
-
Constructor
- JSONArray(int) - Constructor for class com.api.json.JSONArray
-
Constructor with initial capacity allocated
- JSONArtifact - Interface in com.api.json
-
Interface class to define a set of generic apis both JSONObject and JSON array implement.
- JSONObject - Class in com.api.json
- JSONObject() - Constructor for class com.api.json.JSONObject
-
Constructor
- JSONStreamTokenizer - Class in com.api.json
-
This class provides similar services to
StreamTokenizerbut it works on a character by character basis, whereas the StreamTokenizer is based on individual bytes so is not handling solidus nor unicode correctly. - JSONStreamTokenizer(Reader) - Constructor for class com.api.json.JSONStreamTokenizer
-
Constructs the JST from a
Reader.
L
- LN_CNTR - Static variable in class com.api.json.JSON
- LN_CNTR - Static variable in class com.api.json.JSONStreamTokenizer
- LN_OFFSET - Static variable in class com.api.json.JSON
- LN_OFFSET - Static variable in class com.api.json.JSONStreamTokenizer
M
- merge(String, Object, BiFunction<Object, Object, Object>) - Method in class com.api.json.JSONObject
-
Provides merger of the supplied key and value according to logic ni the supplied remappingFunction
N
- nextToken(Integer[]) - Method in class com.api.json.JSONStreamTokenizer
-
Discovers the next token in the reader and returns its type (ttype).
- nval - Variable in class com.api.json.JSONStreamTokenizer
O
- ordinaryChar(int) - Method in class com.api.json.JSONStreamTokenizer
-
Sets the supplied character as ordinary in the character lookup table
- ordinaryChars(int, int) - Method in class com.api.json.JSONStreamTokenizer
-
Sets the range of characters supplied (including the endpoints) as ordinary in the character lookup table
P
- parse(InputStream) - Static method in class com.api.json.JSON
-
Parses the supplied input stream to produce either a
JSONObjector aJSONArray. - parse(InputStream) - Static method in class com.api.json.JSONArray
-
Parses the supplied input stream to derive a
JSONArray - parse(InputStream) - Static method in class com.api.json.JSONObject
-
Parse the supplied input stream to generate a JSONObject
- parse(Reader) - Static method in class com.api.json.JSON
-
Parses the supplied reader to produce either a
JSONObjector aJSONArray - parse(Reader) - Static method in class com.api.json.JSONArray
-
Parses the supplied reader to derive a
JSONArray - parse(Reader) - Static method in class com.api.json.JSONObject
-
Parse the supplied reader to generate a JSONObject
- parse(String) - Static method in class com.api.json.JSON
-
Parses a supplied String to produce a
JSONObjector aJSONArray. - parse(String) - Static method in class com.api.json.JSONArray
-
Parses the supplied String to derive a
JSONArray - parse(String) - Static method in class com.api.json.JSONObject
-
Parse the supplied input to generate a JSONObject
- parseNumbers() - Method in class com.api.json.JSONStreamTokenizer
-
Initializes the character lookup table for known digits for numeric characters, along with the decimal point and minus sign.
- pushBack() - Method in class com.api.json.JSONStreamTokenizer
-
Flags that a character has been returned after completing reading the next token.
- put(String, Object) - Method in class com.api.json.JSONObject
- putAll(Map) - Method in class com.api.json.JSONObject
- putIfAbsent(String, Object) - Method in class com.api.json.JSONObject
Q
- quoteChar(int) - Method in class com.api.json.JSONStreamTokenizer
-
Sets the supplied character as a quote delimiter for quoted word identification in the character lookup table
R
- replace(String, Object) - Method in class com.api.json.JSONObject
- replace(String, Object, Object) - Method in class com.api.json.JSONObject
- resetSyntax() - Method in class com.api.json.JSONStreamTokenizer
-
Resets the character lookup table with single byte characters as ordinary, and double byte characters as parts of words.
S
- serialize() - Method in class com.api.json.JSONArray
- serialize() - Method in interface com.api.json.JSONArtifact
-
Convert this object into a String of JSON text.
- serialize() - Method in class com.api.json.JSONObject
- serialize(boolean) - Method in class com.api.json.JSONArray
- serialize(boolean) - Method in interface com.api.json.JSONArtifact
- serialize(boolean) - Method in class com.api.json.JSONObject
- serialize(OutputStream) - Method in class com.api.json.JSONArray
- serialize(OutputStream) - Method in interface com.api.json.JSONArtifact
-
Convert this object into a stream of JSON text.
- serialize(OutputStream) - Method in class com.api.json.JSONObject
- serialize(OutputStream, boolean) - Method in class com.api.json.JSONArray
- serialize(OutputStream, boolean) - Method in interface com.api.json.JSONArtifact
-
Convert this object into a stream of JSON text.
- serialize(OutputStream, boolean) - Method in class com.api.json.JSONObject
- serialize(Writer) - Method in class com.api.json.JSONArray
- serialize(Writer) - Method in interface com.api.json.JSONArtifact
-
Convert this object into a stream of JSON text.
- serialize(Writer) - Method in class com.api.json.JSONObject
- serialize(Writer, boolean) - Method in class com.api.json.JSONArray
- serialize(Writer, boolean) - Method in interface com.api.json.JSONArtifact
-
Convert this object into a stream of JSON text, specifying verbosity.
- serialize(Writer, boolean) - Method in class com.api.json.JSONObject
- set(int, Object) - Method in class com.api.json.JSONArray
- setSpacing(int) - Static method in class com.api.json.JSON
-
Provides a String of blanks for indentation (up to 60 spaces) corresponding to the supplied indentation size.
- sval - Variable in class com.api.json.JSONStreamTokenizer
T
- toString() - Method in class com.api.json.JSONArray
- toString() - Method in class com.api.json.JSONObject
- toString() - Method in class com.api.json.JSONStreamTokenizer
-
Convenience method to see the state of the next token and its type (e.g., while debugging)
- toString(StringBuilder, int, int) - Method in class com.api.json.JSONArray
- toString(StringBuilder, int, int) - Method in interface com.api.json.JSONArtifact
-
Abstract method to help with recursive formatting of JSON into a String
- toString(StringBuilder, int, int) - Method in class com.api.json.JSONObject
- TT_CR - Static variable in class com.api.json.JSONStreamTokenizer
- TT_EOF - Static variable in class com.api.json.JSONStreamTokenizer
- TT_EOL - Static variable in class com.api.json.JSONStreamTokenizer
- TT_NUMBER - Static variable in class com.api.json.JSONStreamTokenizer
- TT_WORD - Static variable in class com.api.json.JSONStreamTokenizer
- ttype - Variable in class com.api.json.JSONStreamTokenizer
W
- whitespaceChars(int, int) - Method in class com.api.json.JSONStreamTokenizer
-
Sets the range of characters as whitespace in the character lookup table
- wordChars(int, int) - Method in class com.api.json.JSONStreamTokenizer
-
Flags the supplied range of characters as word characters in the lookup table.
All Classes All Packages