public static enum JsonValueType.JsonType extends Enum<JsonValueType.JsonType>
Enum Constant and Description |
---|
BOOLEAN
Value is a JSON true or JSON false that should map to a Java boolean.
|
DOUBLE
Value is a JSON number and should be read as a Java double.
|
INT
Value is a JSON number that should be read as a Java int.
|
JSON_ARRAY
Value is a JSON array.
|
JSON_OBJECT
Value is a JSON object.
|
LONG
Value is a JSON number that should be read as a Java long.
|
STRING
Value is a JSON string.
|
Modifier and Type | Method and Description |
---|---|
static JsonValueType.JsonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonValueType.JsonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonValueType.JsonType BOOLEAN
public static final JsonValueType.JsonType DOUBLE
public static final JsonValueType.JsonType INT
public static final JsonValueType.JsonType JSON_ARRAY
public static final JsonValueType.JsonType JSON_OBJECT
public static final JsonValueType.JsonType LONG
public static final JsonValueType.JsonType STRING
public static JsonValueType.JsonType[] values()
for (JsonValueType.JsonType c : JsonValueType.JsonType.values()) System.out.println(c);
public static JsonValueType.JsonType 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 null