public static enum JsonLexer.Type extends Enum<JsonLexer.Type>
| Enum Constant and Description |
|---|
COLON
The lexer has encountered a colon (most likely between a name
and a value)
|
COMMA
The lexer has encountered a comma (most likely between a name-value
pairs in objects or values in arrays)
|
END_ARRAY
The lexer has encountered the end of an array
|
END_OBJECT
The lexer has encountered the end of an object
|
FALSE
The lexer has encountered a 'false' literal
|
NULL
The lexer has encountered a 'null' literal
|
NUMBER
The lexer has encountered a number value
|
START_ARRAY
The lexer has encountered the start of an array
|
START_OBJECT
The lexer has encountered the start of an object
|
STRING
The lexer has encountered a string value
|
TRUE
The lexer has encountered a 'true' literal
|
| Modifier and Type | Method and Description |
|---|---|
static JsonLexer.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonLexer.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonLexer.Type START_OBJECT
public static final JsonLexer.Type START_ARRAY
public static final JsonLexer.Type END_OBJECT
public static final JsonLexer.Type END_ARRAY
public static final JsonLexer.Type COLON
public static final JsonLexer.Type COMMA
public static final JsonLexer.Type STRING
public static final JsonLexer.Type NUMBER
public static final JsonLexer.Type TRUE
public static final JsonLexer.Type FALSE
public static final JsonLexer.Type NULL
public static JsonLexer.Type[] values()
for (JsonLexer.Type c : JsonLexer.Type.values()) System.out.println(c);
public static JsonLexer.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null