public enum JTokenType extends Enum<JTokenType>
Enum Constant and Description |
---|
ARRAY
a JSON array
|
BOOLEAN
A boolean value.
|
BYTES
A collection of bytes value.
|
DATE
A date value.
|
FLOAT
A float value.
|
INTEGER
An integer value.
|
NONE |
NULL
A null value.
|
OBJECT
A JSON object
|
STRING
a string value.
|
Modifier and Type | Method and Description |
---|---|
static JTokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JTokenType NONE
public static final JTokenType OBJECT
public static final JTokenType ARRAY
public static final JTokenType INTEGER
public static final JTokenType FLOAT
public static final JTokenType STRING
public static final JTokenType BOOLEAN
public static final JTokenType NULL
public static final JTokenType BYTES
public static final JTokenType DATE
public static JTokenType[] values()
for (JTokenType c : JTokenType.values()) System.out.println(c);
public static JTokenType 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 © 2016. All Rights Reserved.