public enum JsonFieldType extends Enum<JsonFieldType>
Enum Constant and Description |
---|
ARRAY
An array.
|
BOOLEAN
A boolean value.
|
NULL
null . |
NUMBER
A number.
|
OBJECT
An object (map).
|
STRING
A string.
|
VARIES
A variety of different types.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static JsonFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonFieldType ARRAY
public static final JsonFieldType BOOLEAN
public static final JsonFieldType OBJECT
public static final JsonFieldType NUMBER
public static final JsonFieldType NULL
null
.public static final JsonFieldType STRING
public static final JsonFieldType VARIES
public static JsonFieldType[] values()
for (JsonFieldType c : JsonFieldType.values()) System.out.println(c);
public static JsonFieldType 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 toString()
toString
in class Enum<JsonFieldType>