public static enum JsonValue.Type extends java.lang.Enum<JsonValue.Type>
| Enum Constant and Description |
|---|
ARRAY |
BIG_DECIMAL |
BIG_INTEGER |
BOOL |
DOUBLE |
FLOAT |
INTEGER |
LONG |
MAP |
NULL |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static JsonValue.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonValue.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonValue.Type STRING
public static final JsonValue.Type BOOL
public static final JsonValue.Type INTEGER
public static final JsonValue.Type LONG
public static final JsonValue.Type DOUBLE
public static final JsonValue.Type FLOAT
public static final JsonValue.Type BIG_DECIMAL
public static final JsonValue.Type BIG_INTEGER
public static final JsonValue.Type MAP
public static final JsonValue.Type ARRAY
public static final JsonValue.Type NULL
public static JsonValue.Type[] values()
for (JsonValue.Type c : JsonValue.Type.values()) System.out.println(c);
public static JsonValue.Type 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 null