public enum AwsJsonToken extends Enum<AwsJsonToken>
AwsJsonReader.peek()
.Enum Constant and Description |
---|
BEGIN_ARRAY
The beginning of an array '['
|
BEGIN_OBJECT
The beginning of an object '{'
|
END_ARRAY
The end of an array ']'
|
END_OBJECT
The end of an object '}'
|
FIELD_NAME
A field name in an object
|
UNKNOWN
None of the above as fail-safe
|
VALUE_BOOLEAN
Boolean value, either true of false
|
VALUE_NULL
Value null
|
VALUE_NUMBER
A number, can be long, double
|
VALUE_STRING
A string value, with quotes
|
Modifier and Type | Method and Description |
---|---|
static AwsJsonToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AwsJsonToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AwsJsonToken BEGIN_ARRAY
public static final AwsJsonToken END_ARRAY
public static final AwsJsonToken BEGIN_OBJECT
public static final AwsJsonToken END_OBJECT
public static final AwsJsonToken FIELD_NAME
public static final AwsJsonToken VALUE_BOOLEAN
public static final AwsJsonToken VALUE_NULL
public static final AwsJsonToken VALUE_NUMBER
public static final AwsJsonToken VALUE_STRING
public static final AwsJsonToken UNKNOWN
public static AwsJsonToken[] values()
for (AwsJsonToken c : AwsJsonToken.values()) System.out.println(c);
public static AwsJsonToken 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 © 2019. All rights reserved.