public enum JSONParserState extends java.lang.Enum<JSONParserState>
| Enum Constant and Description |
|---|
END |
ERROR |
IN_ARRAY_DELIMITER |
IN_ARRAY_START |
IN_ARRAY_VALUE |
IN_OBJECT_COLON |
IN_OBJECT_DELIMITER |
IN_OBJECT_KEY |
IN_OBJECT_START |
IN_OBJECT_VALUE |
INIT |
| Modifier and Type | Method and Description |
|---|---|
static JSONParserState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSONParserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONParserState INIT
public static final JSONParserState IN_ARRAY_START
public static final JSONParserState IN_ARRAY_VALUE
public static final JSONParserState IN_ARRAY_DELIMITER
public static final JSONParserState IN_OBJECT_START
public static final JSONParserState IN_OBJECT_KEY
public static final JSONParserState IN_OBJECT_COLON
public static final JSONParserState IN_OBJECT_VALUE
public static final JSONParserState IN_OBJECT_DELIMITER
public static final JSONParserState END
public static final JSONParserState ERROR
public static JSONParserState[] values()
for (JSONParserState c : JSONParserState.values()) System.out.println(c);
public static JSONParserState 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