public static enum JsonValue.ValueType extends Enum<JsonValue.ValueType>
JsonValue
object.Enum Constant and Description |
---|
ARRAY
JSON array.
|
FALSE
JSON false.
|
NULL
JSON null.
|
NUMBER
JSON number.
|
OBJECT
JSON object.
|
STRING
JSON string.
|
TRUE
JSON true.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue.ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonValue.ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonValue.ValueType ARRAY
public static final JsonValue.ValueType OBJECT
public static final JsonValue.ValueType STRING
public static final JsonValue.ValueType NUMBER
public static final JsonValue.ValueType TRUE
public static final JsonValue.ValueType FALSE
public static final JsonValue.ValueType NULL
public static JsonValue.ValueType[] values()
for (JsonValue.ValueType c : JsonValue.ValueType.values()) System.out.println(c);
public static JsonValue.ValueType 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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.