|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JsonNode
An interface implemented by any JSON segment or field.
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final char OBJECT
static final char ARRAY
static final char STRING
static final char NUMBER
static final char BOOLEAN
Method Detail |
---|
String getName()
String getJsonName()
char getJsonType()
isJsonArray()
is true, this method
returns the component type of the array.
boolean isJsonArray()
int getJsonArrayIndex()
boolean isNillable()
|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |