public static enum JSONReader.EventType extends Enum<JSONReader.EventType>
Enum Constant and Description |
---|
END_ARRAY
Indicates the end of a JSON array.
|
END_ARRAY_ELEMENT
Indicates the end of a JSON array element.
|
END_DOCUMENT
The end of a JSON document.
|
END_OBJECT
Indicates the end of a JSON object.
|
END_VALUE
Indicates the end of a JSON object value.
|
ERROR
An unknown event, possibly a syntax error in a JSON document.
|
FALSE
Indicates a JSON false value.
|
INTEGER
Indicates a JSON integer.
|
NULL
Indicates a JSON null value.
|
NUMBER
Indicates a JSON floating point number.
|
START_ARRAY
Indicates the start of a JSON array.
|
START_ARRAY_ELEMENT
Indicates the start of a JSON array element.
|
START_DOCUMENT
The start of a JSON document.
|
START_OBJECT
Indicates the start of a JSON object.
|
START_VALUE
Indicates the start of a JSON object value.
|
STRING
Indicates the string value of a JSON element.
|
TRUE
Indicates a JSON true value.
|
Modifier and Type | Method and Description |
---|---|
static JSONReader.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSONReader.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONReader.EventType ERROR
public static final JSONReader.EventType START_OBJECT
public static final JSONReader.EventType END_OBJECT
public static final JSONReader.EventType STRING
public static final JSONReader.EventType START_DOCUMENT
public static final JSONReader.EventType END_DOCUMENT
public static final JSONReader.EventType START_ARRAY
public static final JSONReader.EventType START_ARRAY_ELEMENT
public static final JSONReader.EventType END_ARRAY_ELEMENT
public static final JSONReader.EventType END_ARRAY
public static final JSONReader.EventType NUMBER
public static final JSONReader.EventType INTEGER
public static final JSONReader.EventType TRUE
public static final JSONReader.EventType FALSE
public static final JSONReader.EventType NULL
public static final JSONReader.EventType START_VALUE
public static final JSONReader.EventType END_VALUE
public static JSONReader.EventType[] values()
for (JSONReader.EventType c : JSONReader.EventType.values()) System.out.println(c);
public static JSONReader.EventType 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.