public interface JsonNode
Modifier and Type | Field and Description |
---|---|
static char |
ARRAY
JSON array type
|
static char |
BOOLEAN
JSON boolean type
|
static char |
NUMBER
JSON number type
|
static char |
OBJECT
JSON object type
|
static char |
STRING
JSON string type
|
Modifier and Type | Method and Description |
---|---|
int |
getJsonArrayIndex()
Returns the index of this node in its parent array, or -1 if not applicable
(i.e.
|
String |
getJsonName()
Returns the JSON field name.
|
char |
getJsonType()
Returns the type of node.
|
String |
getName()
Returns the field name.
|
boolean |
isJsonArray()
Returns whether this node is a JSON array.
|
boolean |
isNillable()
Returns whether this node may be explicitly set to null.
|
static final char OBJECT
static final char ARRAY
static final char STRING
static final char NUMBER
static final char BOOLEAN
String getName()
String getJsonName()
char getJsonType()
isJsonArray()
is true, this method
returns the component type of the array.boolean isJsonArray()
int getJsonArrayIndex()
boolean isNillable()