public static enum JsonReader.Token extends Enum<JsonReader.Token>
Enum Constant and Description |
---|
END_ARRAY |
END_OBJECT |
FIELD_NAME |
START_ARRAY |
START_OBJECT |
VALUE_FALSE |
VALUE_NULL |
VALUE_NUMBER_FLOAT |
VALUE_NUMBER_INT |
VALUE_STRING |
VALUE_TRUE |
Modifier and Type | Method and Description |
---|---|
static JsonReader.Token |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonReader.Token[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonReader.Token END_ARRAY
public static final JsonReader.Token END_OBJECT
public static final JsonReader.Token FIELD_NAME
public static final JsonReader.Token START_ARRAY
public static final JsonReader.Token START_OBJECT
public static final JsonReader.Token VALUE_FALSE
public static final JsonReader.Token VALUE_NULL
public static final JsonReader.Token VALUE_NUMBER_FLOAT
public static final JsonReader.Token VALUE_NUMBER_INT
public static final JsonReader.Token VALUE_STRING
public static final JsonReader.Token VALUE_TRUE
public static JsonReader.Token[] values()
for (JsonReader.Token c : JsonReader.Token.values()) System.out.println(c);
public static JsonReader.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 © 2018. All rights reserved.