public interface JsonEvent
JsonParser.nextEvent()| Modifier and Type | Field and Description |
|---|---|
static int |
END_ARRAY
The end of a JSON array.
|
static int |
END_OBJECT
The end of a JSON object.
|
static int |
EOF
The end of the JSON text
|
static int |
ERROR
The JSON text contains a syntax error.
|
static int |
FIELD_NAME
A field name.
|
static int |
NEED_MORE_INPUT
The JSON parser needs more input before the next event can be returned.
|
static int |
START_ARRAY
The start of a JSON array.
|
static int |
START_OBJECT
The start of a JSON object.
|
static int |
VALUE_DOUBLE
A double value.
|
static int |
VALUE_FALSE
The boolean value
false. |
static int |
VALUE_INT
An integer value.
|
static int |
VALUE_NULL
A
null value. |
static int |
VALUE_STRING
A string value.
|
static int |
VALUE_TRUE
The boolean value
true. |
static final int ERROR
static final int NEED_MORE_INPUT
static final int START_OBJECT
static final int END_OBJECT
static final int START_ARRAY
static final int END_ARRAY
static final int FIELD_NAME
JsonParser.getCurrentString()
to get the name.static final int VALUE_STRING
JsonParser.getCurrentString()
to get the value.static final int VALUE_INT
JsonParser.getCurrentInt()
to get the value.static final int VALUE_DOUBLE
JsonParser.getCurrentDouble()
to get the value.static final int VALUE_TRUE
true.static final int VALUE_FALSE
false.static final int VALUE_NULL
null value.static final int EOF