@SuppressWarnings({ "deprecation", "unchecked" }) public final class JSONParser extends Object implements JsonParserConstants
Modifiers | Name | Description |
---|---|---|
Token |
jj_nt |
Next token. |
Token |
token |
Current token. |
JsonParserTokenManager |
token_source |
Generated Token Manager. |
Constructor and description |
---|
JSONParser(InputStream stream) Constructor with InputStream. |
JSONParser(InputStream stream, String encoding) Constructor with InputStream and supplied encoding |
JSONParser(Reader stream) Constructor. |
JSONParser(JsonParserTokenManager tm) Constructor with generated Token Manager. |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
ReInit(InputStream stream) Reinitialise. |
|
public void |
ReInit(InputStream stream, String encoding) Reinitialise. |
|
public void |
ReInit(Reader stream) Reinitialise. |
|
public void |
ReInit(JsonParserTokenManager tm) Reinitialise. |
|
public final void |
disable_tracing() Disable tracing. |
|
public final void |
enable_tracing() Enable tracing. |
|
public ParseException |
generateParseException() Generate ParseException. |
|
public final Token |
getNextToken() Get the next Token. |
|
public final Token |
getToken(int index) Get the specific Token. |
|
public final Object |
parse() |
|
public final JSONElement |
parseJSON() |
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.