public static enum JSONNode.NodeType extends java.lang.Enum<JSONNode.NodeType>
| Enum Constant and Description |
|---|
ARRAY
an array.
|
OBJECT
an object with nested key-value pairs.
|
PRIMITIVE
a primitive.
|
| Modifier and Type | Method and Description |
|---|---|
static JSONNode.NodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSONNode.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONNode.NodeType PRIMITIVE
public static final JSONNode.NodeType OBJECT
public static final JSONNode.NodeType ARRAY
public static JSONNode.NodeType[] values()
for (JSONNode.NodeType c : JSONNode.NodeType.values()) System.out.println(c);
public static JSONNode.NodeType 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