enum JsonTokenType extends java.lang.Enum<JsonTokenType>
Enum Constant and Description |
---|
BEGIN_ARRAY
A begin array token (a '[').
|
BEGIN_OBJECT
A begin object token (a '{').
|
COLON
A colon token (a ':').
|
COMMA
A comma token (a ',').
|
DOUBLE
A Double token.
|
END_ARRAY
An end array token (a ']').
|
END_OBJECT
An end object token (a '}').
|
END_OF_FILE
An end of file token.
|
INT32
An Int32 token.
|
INT64
And Int64 token.
|
INVALID
An invalid token.
|
LEFT_PAREN
A left parenthesis (a '(').
|
REGULAR_EXPRESSION
A regular expression token.
|
RIGHT_PAREN
A right parenthesis (a ')').
|
STRING
A string token.
|
UNQUOTED_STRING
An unquoted string token.
|
Modifier and Type | Method and Description |
---|---|
static JsonTokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonTokenType INVALID
public static final JsonTokenType BEGIN_ARRAY
public static final JsonTokenType BEGIN_OBJECT
public static final JsonTokenType END_ARRAY
public static final JsonTokenType LEFT_PAREN
public static final JsonTokenType RIGHT_PAREN
public static final JsonTokenType END_OBJECT
public static final JsonTokenType COLON
public static final JsonTokenType COMMA
public static final JsonTokenType DOUBLE
public static final JsonTokenType INT32
public static final JsonTokenType INT64
public static final JsonTokenType REGULAR_EXPRESSION
public static final JsonTokenType STRING
public static final JsonTokenType UNQUOTED_STRING
public static final JsonTokenType END_OF_FILE
public static JsonTokenType[] values()
for (JsonTokenType c : JsonTokenType.values()) System.out.println(c);
public static JsonTokenType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null