public static enum JsonBuilder.Type extends java.lang.Enum<JsonBuilder.Type>
| Enum Constant and Description |
|---|
BOOLEAN |
BOOLEAN_ARRAY |
INTEGER |
INTEGER_ARRAY |
NUMBER |
NUMBER_ARRAY |
OBJECT |
OBJECT_ARRAY |
STRING |
STRING_ARRAY |
| Modifier and Type | Field and Description |
|---|---|
JsonBuilder.Type |
elementType |
boolean |
isArray |
| Modifier and Type | Method and Description |
|---|---|
static JsonBuilder.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonBuilder.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonBuilder.Type STRING
public static final JsonBuilder.Type INTEGER
public static final JsonBuilder.Type NUMBER
public static final JsonBuilder.Type BOOLEAN
public static final JsonBuilder.Type OBJECT
public static final JsonBuilder.Type STRING_ARRAY
public static final JsonBuilder.Type INTEGER_ARRAY
public static final JsonBuilder.Type NUMBER_ARRAY
public static final JsonBuilder.Type BOOLEAN_ARRAY
public static final JsonBuilder.Type OBJECT_ARRAY
public final boolean isArray
public final JsonBuilder.Type elementType
public static JsonBuilder.Type[] values()
for (JsonBuilder.Type c : JsonBuilder.Type.values()) System.out.println(c);
public static JsonBuilder.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