public static enum JsonScanner.Token extends Enum<JsonScanner.Token>
| Enum Constant and Description |
|---|
ARRAY_END |
ARRAY_START |
LITERAL |
NAME |
OBJECT_END |
OBJECT_START |
| Modifier and Type | Method and Description |
|---|---|
static JsonScanner.Token |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonScanner.Token[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonScanner.Token ARRAY_START
public static final JsonScanner.Token ARRAY_END
public static final JsonScanner.Token OBJECT_START
public static final JsonScanner.Token OBJECT_END
public static final JsonScanner.Token NAME
public static final JsonScanner.Token LITERAL
public static JsonScanner.Token[] values()
for (JsonScanner.Token c : JsonScanner.Token.values()) System.out.println(c);
public static JsonScanner.Token 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 nullCopyright © 2020. All rights reserved.