class JsonToken extends java.lang.Object
A JSON token.
Modifiers | Name | Description |
---|---|---|
static char |
BACK_SLASH |
|
static java.lang.String |
BOOLEAN_FALSE |
|
static java.lang.String |
BOOLEAN_TRUE |
|
static char |
CLOSE_BRACE |
|
static char |
CLOSE_BRACKET |
|
static char |
CLOSE_PARENS |
|
static char |
COLON |
|
static char |
COMMA |
|
static char |
FORWARD_SLASH |
|
static char |
MINUS |
|
static char |
NEW_LINE |
|
static java.lang.String |
NULL |
|
static char |
OPEN_BRACE |
|
static char |
OPEN_BRACKET |
|
static char |
OPEN_PARENS |
|
static char |
QUOTE |
|
static char |
SPACE |
|
private JsonTokenType |
type |
|
private java.lang.Object |
value |
Constructor and description |
---|
JsonToken
(JsonTokenType type, java.lang.Object value) |
Type Params | Return Type | Name and description |
---|---|---|
|
public JsonTokenType |
getType() |
|
public java.lang.Object |
getValue() |
<T> |
public T |
getValue(java.lang.Class<T> clazz) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |