groovy.json
public enum JsonTokenType extends Enum<JsonTokenType>
| Enum Constant and Description |
|---|
CLOSE_BRACKET |
CLOSE_CURLY |
COLON |
COMMA |
FALSE |
NULL |
NUMBER |
OPEN_BRACKET |
OPEN_CURLY |
STRING |
TRUE |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
Object |
getValidator() |
static JsonTokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonTokenType OPEN_CURLY
public static final JsonTokenType CLOSE_CURLY
public static final JsonTokenType OPEN_BRACKET
public static final JsonTokenType CLOSE_BRACKET
public static final JsonTokenType COLON
public static final JsonTokenType COMMA
public static final JsonTokenType NULL
public static final JsonTokenType TRUE
public static final JsonTokenType FALSE
public static final JsonTokenType NUMBER
public static final JsonTokenType STRING
public static JsonTokenType[] values()
for (JsonTokenType c : JsonTokenType.values()) System.out.println(c);
public static JsonTokenType 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 nullpublic String getLabel()
public Object getValidator()