public enum JsonValueType extends Enum<JsonValueType>
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
NULL |
NUMBER |
OBJECT |
STRING |
Modifier and Type | Method and Description |
---|---|
static JsonValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonValueType OBJECT
public static final JsonValueType ARRAY
public static final JsonValueType STRING
public static final JsonValueType NUMBER
public static final JsonValueType NULL
public static final JsonValueType BOOLEAN
public static JsonValueType[] values()
for (JsonValueType c : JsonValueType.values()) System.out.println(c);
public static JsonValueType 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 nullCopyright © 2005–2022. All rights reserved.