public static enum JsonValue.ValueType extends Enum<JsonValue.ValueType>
Enum Constant and Description |
---|
ARRAY
JSON array value type
|
FALSE
JSON false value type
|
NULL
JSON null value type
|
NUMBER
JSON number value type
|
OBJECT
JSON object value type
|
STRING
JSON string value type
|
TRUE
JSON true value type
|
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 null
Comments to : [email protected]
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.