| Package | Description |
|---|---|
| net.markenwerk.utils.json.parser |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonPullParser.beginArray()
Ensures that the
current
JsonState is JsonState.ARRAY_BEGIN and consumes the
beginning of a JSON array. |
void |
DefaultJsonPullParser.beginArray() |
void |
JsonPullParser.beginDocument()
Ensures that the
current
JsonState is JsonState.DOCUMENT_BEGIN and consumes the
begin of the JSON document. |
void |
DefaultJsonPullParser.beginDocument() |
void |
JsonPullParser.beginObject()
Ensures that the
current
JsonState is JsonState.OBJECT_BEGIN and consumes the
beginning of a JSON object. |
void |
DefaultJsonPullParser.beginObject() |
JsonState |
JsonPullParser.currentState()
Reads, if necessary, from the underlying Reader and describes the current
JsonState of this DefaultJsonPullParser, which describes
the next type of value or structural element of the JSON document. |
JsonState |
DefaultJsonPullParser.currentState() |
void |
JsonPullParser.endArray()
|
void |
DefaultJsonPullParser.endArray() |
void |
JsonPullParser.endDocument()
Ensures that the
current
JsonState is JsonState.DOCUMENT_END and consumes the end
of the JSON document. |
void |
DefaultJsonPullParser.endDocument() |
void |
JsonPullParser.endObject()
|
void |
DefaultJsonPullParser.endObject() |
<Result> Result |
JsonPushParser.handle(JsonHandler<Result> handler)
Handle the character sequence from the
JsonSource and report to
the JsonHandler. |
<Result> Result |
DefaultJsonPushParser.handle(JsonHandler<Result> handler) |
boolean |
JsonPullParser.hasNextElement()
Returns whether the current JSON array or JSON object has more elements.
|
boolean |
DefaultJsonPullParser.hasNextElement() |
boolean |
JsonPullParser.nextBoolean()
Ensures that the
current
JsonState is JsonState.BOOLEAN and consumes and returns
the corresponding value. |
boolean |
DefaultJsonPullParser.nextBoolean() |
byte |
JsonPullParser.nextByte()
Ensures that the
current
JsonState is JsonState.LONG and consumes and returns the
corresponding value as a byte. |
byte |
DefaultJsonPullParser.nextByte() |
char |
JsonPullParser.nextCharacter()
Ensures that the
current
JsonState is JsonState.LONG and consumes and returns the
corresponding value as a char. |
char |
DefaultJsonPullParser.nextCharacter() |
double |
JsonPullParser.nextDouble()
Ensures that the
current
JsonState is JsonState.DOUBLE and consumes and returns
the corresponding value. |
double |
DefaultJsonPullParser.nextDouble() |
float |
JsonPullParser.nextFloat()
Ensures that the
current
JsonState is JsonState.DOUBLE and consumes and returns
the corresponding value as a float. |
float |
DefaultJsonPullParser.nextFloat() |
int |
JsonPullParser.nextInteger()
Ensures that the
current
JsonState is JsonState.LONG and consumes and returns the
corresponding value as a int. |
int |
DefaultJsonPullParser.nextInteger() |
long |
JsonPullParser.nextLong()
Ensures that the
current
JsonState is JsonState.LONG and consumes and returns the
corresponding value. |
long |
DefaultJsonPullParser.nextLong() |
String |
JsonPullParser.nextName()
Ensures that the
current
JsonState is JsonState.NAME and consumes and returns the
corresponding name of a JSON object entry. |
String |
DefaultJsonPullParser.nextName() |
void |
JsonPullParser.nextNull()
Ensures that the
current
JsonState is JsonState.NULL and consumes the
null The next JsonState describes either the next
sibling value of this JSON value or the end of surrounding JSON array or
JSON object. |
void |
DefaultJsonPullParser.nextNull() |
short |
JsonPullParser.nextShort()
Ensures that the
current
JsonState is JsonState.LONG and consumes and returns the
corresponding value as a short. |
short |
DefaultJsonPullParser.nextShort() |
String |
JsonPullParser.nextString()
Ensures that the
current
JsonState is JsonState.STRING and consumes and returns
the corresponding value. |
String |
DefaultJsonPullParser.nextString() |
Reader |
JsonPullParser.readString()
Ensures that the
current
JsonState is JsonState.STRING and return a Reader
that consumes the corresponding value. |
Reader |
DefaultJsonPullParser.readString() |
void |
JsonPullParser.skipValue()
Skips the current JSON value.
|
void |
DefaultJsonPullParser.skipValue() |
Copyright © 2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.