public enum LDValueType extends java.lang.Enum<LDValueType>
LDValue
. These correspond to the standard types in JSON.Enum Constant and Description |
---|
ARRAY
The value is an array.
|
BOOLEAN
The value is a boolean.
|
NULL
The value is null.
|
NUMBER
The value is numeric.
|
OBJECT
The value is an object (map).
|
STRING
The value is a string.
|
Modifier and Type | Method and Description |
---|---|
static LDValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LDValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LDValueType NULL
public static final LDValueType BOOLEAN
public static final LDValueType NUMBER
public static final LDValueType STRING
public static final LDValueType ARRAY
public static final LDValueType OBJECT
public static LDValueType[] values()
for (LDValueType c : LDValueType.values()) System.out.println(c);
public static LDValueType 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