public enum JsonEvent extends java.lang.Enum<JsonEvent>
| Enum Constant and Description |
|---|
ARRAY_END
Parsing cursor points to JSON
array end token. |
ARRAY_START
Parsing cursor points to JSON
array start token. |
BOOLEAN
Parsing cursor points to JSON
true or false token. |
NULL
Parsing cursor points to JSON
null token. |
NUMBER
Parsing cursor points to JSON
number. |
OBJECT_END
Parsing cursor points to JSON
object end token. |
OBJECT_START
Parsing cursor points to JSON
object start token. |
STRING
Parsing cursor points to JSON
string. |
| Modifier and Type | Method and Description |
|---|---|
static JsonEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonEvent BOOLEAN
true or false token.public static final JsonEvent NUMBER
number.public static final JsonEvent NULL
null token.public static final JsonEvent STRING
string.public static final JsonEvent OBJECT_START
object start token.public static final JsonEvent OBJECT_END
object end token.public static final JsonEvent ARRAY_START
array start token.public static final JsonEvent ARRAY_END
array end token.public static JsonEvent[] values()
for (JsonEvent c : JsonEvent.values()) System.out.println(c);
public static JsonEvent 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 nullCopyright © 2017 FOSS Nova Software Foundation. All rights reserved.