public static enum JsonReader.Type extends java.lang.Enum<JsonReader.Type>
JsonReader is positioned over.| Enum Constant and Description |
|---|
ARRAY
An array.
|
BOOLEAN
A boolean value (true or false).
|
NULL
A null value.
|
NUMBER
A number.
|
OBJECT
An object.
|
STRING
A string.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonReader.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonReader.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonReader.Type OBJECT
public static final JsonReader.Type ARRAY
public static final JsonReader.Type STRING
public static final JsonReader.Type NUMBER
public static final JsonReader.Type BOOLEAN
public static final JsonReader.Type NULL
public static JsonReader.Type[] values()
for (JsonReader.Type c : JsonReader.Type.values()) System.out.println(c);
public static JsonReader.Type 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