Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(int, String) - Method in class org.json.simple.ItemList
- add(String) - Method in class org.json.simple.ItemList
- addAll(String) - Method in class org.json.simple.ItemList
- addAll(String, String) - Method in class org.json.simple.ItemList
- addAll(String, String, boolean) - Method in class org.json.simple.ItemList
- addAll(ItemList) - Method in class org.json.simple.ItemList
C
- clear() - Method in class org.json.simple.ItemList
- ContainerFactory - Interface in org.json.simple.parser
-
Container factory for creating containers for JSON object and JSON array.
- ContentHandler - Interface in org.json.simple.parser
-
A simplified and stoppable SAX-like content handler for stream processing of JSON text.
- creatArrayContainer() - Method in interface org.json.simple.parser.ContainerFactory
- createArrayContainer(ContainerFactory) - Method in class org.json.simple.parser.JSONParser
- createObjectContainer() - Method in interface org.json.simple.parser.ContainerFactory
- createObjectContainer(ContainerFactory) - Method in class org.json.simple.parser.JSONParser
E
- endArray() - Method in interface org.json.simple.parser.ContentHandler
-
Receive notification of the end of a JSON array.
- endJSON() - Method in interface org.json.simple.parser.ContentHandler
-
Receive notification of the end of JSON processing.
- endObject() - Method in interface org.json.simple.parser.ContentHandler
-
Receive notification of the end of a JSON object.
- endObjectEntry() - Method in interface org.json.simple.parser.ContentHandler
-
Receive notification of the end of the value of previous object entry.
- ERROR_UNEXPECTED_CHAR - Static variable in exception class org.json.simple.parser.ParseException
- ERROR_UNEXPECTED_EXCEPTION - Static variable in exception class org.json.simple.parser.ParseException
- ERROR_UNEXPECTED_TOKEN - Static variable in exception class org.json.simple.parser.ParseException
- errorType - Variable in exception class org.json.simple.parser.ParseException
- escape(String) - Static method in class org.json.simple.JSONObject
-
Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).
- escape(String) - Static method in class org.json.simple.JSONValue
-
Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).
- escape(String, StringBuffer) - Static method in class org.json.simple.JSONValue
G
- get(int) - Method in class org.json.simple.ItemList
- getArray() - Method in class org.json.simple.ItemList
- getErrorType() - Method in exception class org.json.simple.parser.ParseException
- getItems() - Method in class org.json.simple.ItemList
- getPosition() - Method in class org.json.simple.parser.JSONParser
- getPosition() - Method in exception class org.json.simple.parser.ParseException
- getPosition() - Method in class org.json.simple.parser.Yylex
- getUnexpectedObject() - Method in exception class org.json.simple.parser.ParseException
H
- handlerStatusStack - Variable in class org.json.simple.parser.JSONParser
I
- ItemList - Class in org.json.simple
-
|a:b:c| => |a|,|b|,|c| |:| => ||,|| |a:| => |a|,||
- ItemList() - Constructor for class org.json.simple.ItemList
- ItemList(String) - Constructor for class org.json.simple.ItemList
- ItemList(String, String) - Constructor for class org.json.simple.ItemList
- ItemList(String, String, boolean) - Constructor for class org.json.simple.ItemList
- items - Variable in class org.json.simple.ItemList
J
- JSONArray - Class in org.json.simple
-
A JSON array.
- JSONArray() - Constructor for class org.json.simple.JSONArray
- JSONAware - Interface in org.json.simple
-
Beans that support customized output of JSON text shall implement this interface.
- JSONObject - Class in org.json.simple
-
A JSON object.
- JSONObject() - Constructor for class org.json.simple.JSONObject
- JSONObject(Map) - Constructor for class org.json.simple.JSONObject
-
Allows creation of a JSONObject from a Map.
- JSONParser - Class in org.json.simple.parser
-
Parser for JSON text.
- JSONParser() - Constructor for class org.json.simple.parser.JSONParser
- JSONStreamAware - Interface in org.json.simple
-
Beans that support customized output of JSON text to a writer shall implement this interface.
- JSONValue - Class in org.json.simple
- JSONValue() - Constructor for class org.json.simple.JSONValue
L
- lexer - Variable in class org.json.simple.parser.JSONParser
N
- nextToken() - Method in class org.json.simple.parser.JSONParser
O
- org.json.simple - package org.json.simple
- org.json.simple.parser - package org.json.simple.parser
P
- parse(Reader) - Static method in class org.json.simple.JSONValue
-
Parse JSON text into java object from the input source.
- parse(Reader) - Method in class org.json.simple.parser.JSONParser
- parse(Reader, ContainerFactory) - Method in class org.json.simple.parser.JSONParser
-
Parse JSON text into java object from the input source.
- parse(Reader, ContentHandler) - Method in class org.json.simple.parser.JSONParser
- parse(Reader, ContentHandler, boolean) - Method in class org.json.simple.parser.JSONParser
-
Stream processing of JSON text.
- parse(String) - Static method in class org.json.simple.JSONValue
- parse(String) - Method in class org.json.simple.parser.JSONParser
- parse(String, ContainerFactory) - Method in class org.json.simple.parser.JSONParser
- parse(String, ContentHandler) - Method in class org.json.simple.parser.JSONParser
- parse(String, ContentHandler, boolean) - Method in class org.json.simple.parser.JSONParser
- ParseException - Exception Class in org.json.simple.parser
-
ParseException explains why and where the error occurs in source JSON text.
- ParseException(int) - Constructor for exception class org.json.simple.parser.ParseException
- ParseException(int, int, Object) - Constructor for exception class org.json.simple.parser.ParseException
- ParseException(int, Object) - Constructor for exception class org.json.simple.parser.ParseException
- parseWithException(Reader) - Static method in class org.json.simple.JSONValue
-
Parse JSON text into java object from the input source.
- parseWithException(String) - Static method in class org.json.simple.JSONValue
- peekStatus(LinkedList) - Method in class org.json.simple.parser.JSONParser
- position - Variable in exception class org.json.simple.parser.ParseException
- primitive(Object) - Method in interface org.json.simple.parser.ContentHandler
-
Receive notification of the JSON primitive values: java.lang.String, java.lang.Number, java.lang.Boolean null
R
- reset() - Method in class org.json.simple.ItemList
- reset() - Method in class org.json.simple.parser.JSONParser
-
Reset the parser to the initial state without resetting the underlying reader.
- reset(Reader) - Method in class org.json.simple.parser.JSONParser
-
Reset the parser to the initial state with a new character reader.
S
- S_END - Static variable in class org.json.simple.parser.JSONParser
- S_IN_ARRAY - Static variable in class org.json.simple.parser.JSONParser
- S_IN_ERROR - Static variable in class org.json.simple.parser.JSONParser
- S_IN_FINISHED_VALUE - Static variable in class org.json.simple.parser.JSONParser
- S_IN_OBJECT - Static variable in class org.json.simple.parser.JSONParser
- S_IN_PAIR_VALUE - Static variable in class org.json.simple.parser.JSONParser
- S_INIT - Static variable in class org.json.simple.parser.JSONParser
- S_PASSED_PAIR_KEY - Static variable in class org.json.simple.parser.JSONParser
- sb - Variable in class org.json.simple.parser.Yylex
- serialVersionUID - Static variable in class org.json.simple.JSONArray
- serialVersionUID - Static variable in class org.json.simple.JSONObject
- serialVersionUID - Static variable in exception class org.json.simple.parser.ParseException
- setErrorType(int) - Method in exception class org.json.simple.parser.ParseException
- setPosition(int) - Method in exception class org.json.simple.parser.ParseException
- setSP(String) - Method in class org.json.simple.ItemList
- setUnexpectedObject(Object) - Method in exception class org.json.simple.parser.ParseException
- size() - Method in class org.json.simple.ItemList
- sp - Variable in class org.json.simple.ItemList
- split(String, String, List) - Method in class org.json.simple.ItemList
- split(String, String, List, boolean) - Method in class org.json.simple.ItemList
- startArray() - Method in interface org.json.simple.parser.ContentHandler
-
Receive notification of the beginning of a JSON array.
- startJSON() - Method in interface org.json.simple.parser.ContentHandler
-
Receive notification of the beginning of JSON processing.
- startObject() - Method in interface org.json.simple.parser.ContentHandler
-
Receive notification of the beginning of a JSON object.
- startObjectEntry(String) - Method in interface org.json.simple.parser.ContentHandler
-
Receive notification of the beginning of a JSON object entry.
- status - Variable in class org.json.simple.parser.JSONParser
- STRING_BEGIN - Static variable in class org.json.simple.parser.Yylex
T
- toJSONString() - Method in class org.json.simple.JSONArray
- toJSONString() - Method in interface org.json.simple.JSONAware
- toJSONString() - Method in class org.json.simple.JSONObject
- toJSONString(Object) - Static method in class org.json.simple.JSONValue
-
Convert an object to JSON text.
- toJSONString(String, Object, StringBuffer) - Static method in class org.json.simple.JSONObject
- toJSONString(List) - Static method in class org.json.simple.JSONArray
-
Convert a list to JSON text.
- toJSONString(Map) - Static method in class org.json.simple.JSONObject
-
Convert a map to JSON text.
- token - Variable in class org.json.simple.parser.JSONParser
- toString() - Method in class org.json.simple.ItemList
- toString() - Method in class org.json.simple.JSONArray
- toString() - Method in class org.json.simple.JSONObject
- toString() - Method in exception class org.json.simple.parser.ParseException
- toString() - Method in class org.json.simple.parser.Yytoken
- toString(String) - Method in class org.json.simple.ItemList
- toString(String, Object) - Static method in class org.json.simple.JSONObject
- type - Variable in class org.json.simple.parser.Yytoken
- TYPE_COLON - Static variable in class org.json.simple.parser.Yytoken
- TYPE_COMMA - Static variable in class org.json.simple.parser.Yytoken
- TYPE_EOF - Static variable in class org.json.simple.parser.Yytoken
- TYPE_LEFT_BRACE - Static variable in class org.json.simple.parser.Yytoken
- TYPE_LEFT_SQUARE - Static variable in class org.json.simple.parser.Yytoken
- TYPE_RIGHT_BRACE - Static variable in class org.json.simple.parser.Yytoken
- TYPE_RIGHT_SQUARE - Static variable in class org.json.simple.parser.Yytoken
- TYPE_VALUE - Static variable in class org.json.simple.parser.Yytoken
U
- unexpectedObject - Variable in exception class org.json.simple.parser.ParseException
V
W
- writeJSONString(Writer) - Method in class org.json.simple.JSONArray
- writeJSONString(Writer) - Method in class org.json.simple.JSONObject
- writeJSONString(Writer) - Method in interface org.json.simple.JSONStreamAware
-
write JSON string to out.
- writeJSONString(Object, Writer) - Static method in class org.json.simple.JSONValue
-
Encode an object into JSON text and write it to out.
- writeJSONString(List, Writer) - Static method in class org.json.simple.JSONArray
-
Encode a list into JSON text and write it to out.
- writeJSONString(Map, Writer) - Static method in class org.json.simple.JSONObject
-
Encode a map into JSON text and write it to out.
Y
- yybegin(int) - Method in class org.json.simple.parser.Yylex
-
Enters a new lexical state
- yychar - Variable in class org.json.simple.parser.Yylex
-
the number of characters up to the start of the matched text
- yycharat(int) - Method in class org.json.simple.parser.Yylex
-
Returns the character at position pos from the matched text.
- yyclose() - Method in class org.json.simple.parser.Yylex
-
Closes the input stream.
- yycolumn - Variable in class org.json.simple.parser.Yylex
-
the number of characters from the last newline up to the start of the matched text
- YYEOF - Static variable in class org.json.simple.parser.Yylex
-
This character denotes the end of file
- YYINITIAL - Static variable in class org.json.simple.parser.Yylex
-
lexical states
- yylength() - Method in class org.json.simple.parser.Yylex
-
Returns the length of the matched text region.
- yylex() - Method in class org.json.simple.parser.Yylex
-
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.
- Yylex - Class in org.json.simple.parser
- Yylex(InputStream) - Constructor for class org.json.simple.parser.Yylex
-
Creates a new scanner.
- Yylex(Reader) - Constructor for class org.json.simple.parser.Yylex
-
Creates a new scanner There is also a java.io.InputStream version of this constructor.
- yyline - Variable in class org.json.simple.parser.Yylex
-
number of newlines encountered up to the start of the matched text
- yypushback(int) - Method in class org.json.simple.parser.Yylex
-
Pushes the specified amount of characters back into the input stream.
- yyreset(Reader) - Method in class org.json.simple.parser.Yylex
-
Resets the scanner to read from a new input stream.
- yystate() - Method in class org.json.simple.parser.Yylex
-
Returns the current lexical state.
- yytext() - Method in class org.json.simple.parser.Yylex
-
Returns the text matched by the current regular expression.
- Yytoken - Class in org.json.simple.parser
- Yytoken(int, Object) - Constructor for class org.json.simple.parser.Yytoken
Z
- ZZ_ACTION - Static variable in class org.json.simple.parser.Yylex
-
Translates DFA states to action switch labels.
- ZZ_ACTION_PACKED_0 - Static variable in class org.json.simple.parser.Yylex
- ZZ_ATTRIBUTE - Static variable in class org.json.simple.parser.Yylex
-
ZZ_ATTRIBUTE[aState] contains the attributes of state
aState
- ZZ_ATTRIBUTE_PACKED_0 - Static variable in class org.json.simple.parser.Yylex
- ZZ_BUFFERSIZE - Static variable in class org.json.simple.parser.Yylex
-
initial size of the lookahead buffer
- ZZ_CMAP - Static variable in class org.json.simple.parser.Yylex
-
Translates characters to character classes
- ZZ_CMAP_PACKED - Static variable in class org.json.simple.parser.Yylex
-
Translates characters to character classes
- ZZ_ERROR_MSG - Static variable in class org.json.simple.parser.Yylex
- ZZ_LEXSTATE - Static variable in class org.json.simple.parser.Yylex
-
ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l at the beginning of a line l is of the form l = 2*k, k a non negative integer
- ZZ_NO_MATCH - Static variable in class org.json.simple.parser.Yylex
- ZZ_PUSHBACK_2BIG - Static variable in class org.json.simple.parser.Yylex
- ZZ_ROWMAP - Static variable in class org.json.simple.parser.Yylex
-
Translates a state to a row index in the transition table
- ZZ_ROWMAP_PACKED_0 - Static variable in class org.json.simple.parser.Yylex
- ZZ_TRANS - Static variable in class org.json.simple.parser.Yylex
-
The transition table of the DFA
- ZZ_UNKNOWN_ERROR - Static variable in class org.json.simple.parser.Yylex
- zzAtBOL - Variable in class org.json.simple.parser.Yylex
-
zzAtBOL == true invalid input: '<'=> the scanner is currently at the beginning of a line
- zzAtEOF - Variable in class org.json.simple.parser.Yylex
-
zzAtEOF == true invalid input: '<'=> the scanner is at the EOF
- zzBuffer - Variable in class org.json.simple.parser.Yylex
-
this buffer contains the current text to be matched and is the source of the yytext() string
- zzCurrentPos - Variable in class org.json.simple.parser.Yylex
-
the current text position in the buffer
- zzEndRead - Variable in class org.json.simple.parser.Yylex
-
endRead marks the last character in the buffer, that has been read from input
- zzLexicalState - Variable in class org.json.simple.parser.Yylex
-
the current lexical state
- zzMarkedPos - Variable in class org.json.simple.parser.Yylex
-
the textposition at the last accepting state
- zzReader - Variable in class org.json.simple.parser.Yylex
-
the input device
- zzRefill() - Method in class org.json.simple.parser.Yylex
-
Refills the input buffer.
- zzScanError(int) - Method in class org.json.simple.parser.Yylex
-
Reports an error that occured while scanning.
- zzStartRead - Variable in class org.json.simple.parser.Yylex
-
startRead marks the beginning of the yytext() string in the buffer
- zzState - Variable in class org.json.simple.parser.Yylex
-
the current state of the DFA
- zzUnpackAction() - Static method in class org.json.simple.parser.Yylex
- zzUnpackAction(String, int, int[]) - Static method in class org.json.simple.parser.Yylex
- zzUnpackAttribute() - Static method in class org.json.simple.parser.Yylex
- zzUnpackAttribute(String, int, int[]) - Static method in class org.json.simple.parser.Yylex
- zzUnpackCMap(String) - Static method in class org.json.simple.parser.Yylex
-
Unpacks the compressed character translation table.
- zzUnpackRowMap() - Static method in class org.json.simple.parser.Yylex
- zzUnpackRowMap(String, int, int[]) - Static method in class org.json.simple.parser.Yylex
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form