public enum JsonToken extends Enum<JsonToken>
| Enum Constant and Description |
|---|
BEGIN_ARRAY |
BEGIN_OBJECT |
BOOLEAN |
END_ARRAY |
END_DOCUMENT |
END_OBJECT |
NAME |
NULL |
NUMBER |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static JsonToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonToken BEGIN_ARRAY
public static final JsonToken BEGIN_OBJECT
public static final JsonToken BOOLEAN
public static final JsonToken END_ARRAY
public static final JsonToken END_DOCUMENT
public static final JsonToken END_OBJECT
public static final JsonToken NAME
public static final JsonToken NULL
public static final JsonToken NUMBER
public static final JsonToken STRING
public static JsonToken[] values()
for (JsonToken c : JsonToken.values()) System.out.println(c);
public static JsonToken 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 © 2008-2013. All Rights Reserved.