public static enum JsonParser.State extends java.lang.Enum<JsonParser.State>
| Enum Constant and Description |
|---|
afterKey |
afterValue |
beforeValue |
inKey |
inNumber |
inObject |
inString |
none |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAfterKey() |
boolean |
isAfterValue() |
boolean |
isBeforeValue() |
boolean |
isInKey() |
boolean |
isInNumber() |
boolean |
isInObject() |
boolean |
isInString() |
boolean |
isNone() |
static JsonParser.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonParser.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonParser.State none
public static final JsonParser.State inKey
public static final JsonParser.State afterKey
public static final JsonParser.State beforeValue
public static final JsonParser.State inString
public static final JsonParser.State inObject
public static final JsonParser.State inNumber
public static final JsonParser.State afterValue
public static JsonParser.State[] values()
for (JsonParser.State c : JsonParser.State.values()) System.out.println(c);
public static JsonParser.State 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 nullpublic boolean isNone()
public boolean isInKey()
public boolean isAfterKey()
public boolean isBeforeValue()
public boolean isInString()
public boolean isInObject()
public boolean isInNumber()
public boolean isAfterValue()