@java.lang.SuppressWarnings("all") public final class JSONParser extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
Token |
jj_nt |
Next token. |
Token |
token |
Current token. |
JsonParserTokenManager |
token_source |
Generated Token Manager. |
Constructor and description |
---|
JSONParser
(java.io.InputStream stream) Constructor with InputStream. |
JSONParser
(java.io.InputStream stream, java.lang.String encoding) Constructor with InputStream and supplied encoding |
JSONParser
(java.io.Reader stream) Constructor. |
JSONParser
(JsonParserTokenManager tm) Constructor with generated Token Manager. |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
ReInit(java.io.InputStream stream) Reinitialise. |
|
void |
ReInit(java.io.InputStream stream, java.lang.String encoding) Reinitialise. |
|
void |
ReInit(java.io.Reader stream) Reinitialise. |
|
void |
ReInit(JsonParserTokenManager tm) Reinitialise. |
|
void |
disable_tracing() Disable tracing. |
|
void |
enable_tracing() Enable tracing. |
|
ParseException |
generateParseException() Generate ParseException. |
|
Token |
getNextToken() Get the next Token. |
|
Token |
getToken(int index) Get the specific Token. |
|
java.lang.Object |
parse() |
|
JSONElement |
parseJSON() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Next token.
Current token.
Generated Token Manager.
Constructor with InputStream.
Constructor with InputStream and supplied encoding
Constructor.
Constructor with generated Token Manager.
Reinitialise.
Reinitialise.
Reinitialise.
Reinitialise.
Disable tracing.
Enable tracing.
Generate ParseException.
Get the next Token.
Get the specific Token.