public static enum ValueDef.JsonType extends Enum<ValueDef.JsonType>
Enum Constant and Description |
---|
BOOLEAN |
EMBEDDED_OBJECT |
EMPTY
Indicates an empty array.
|
FLOAT |
INTEGER |
NULL |
OBJECT |
STRING |
UNKNOWN
Indicates an unknown array, appears when replacing the
value listener for an array.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isObject() |
boolean |
isScalar() |
boolean |
isUnknown() |
static ValueDef.JsonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueDef.JsonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueDef.JsonType OBJECT
public static final ValueDef.JsonType NULL
public static final ValueDef.JsonType BOOLEAN
public static final ValueDef.JsonType INTEGER
public static final ValueDef.JsonType FLOAT
public static final ValueDef.JsonType STRING
public static final ValueDef.JsonType EMBEDDED_OBJECT
public static final ValueDef.JsonType EMPTY
public static final ValueDef.JsonType UNKNOWN
public static ValueDef.JsonType[] values()
for (ValueDef.JsonType c : ValueDef.JsonType.values()) System.out.println(c);
public static ValueDef.JsonType 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 nullpublic boolean isObject()
public boolean isUnknown()
public boolean isScalar()
Copyright © 1970 The Apache Software Foundation. All rights reserved.