| Package | Description |
|---|---|
| net.markenwerk.utils.json.common | |
| net.markenwerk.utils.json.handler | |
| net.markenwerk.utils.json.parser |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonIndexException
A
JsonIndexException is a JsonException that indicates that
a given value is not a valid index for a given JSON structure. |
class |
JsonProcessingException
A
JsonProcessingException is a JsonException that indicates
that a JSON related operation couldn't be performed. |
class |
JsonStateException
A
JsonStateException is a JsonProcessingException that
indicates that a JSON related operation couldn't be performed because the
JSON related object is not in the correct state for that operation. |
class |
JsonValueException
A
JsonValueException is a JsonException that indicates
that a JSON value couldn't be processed or failed to fulfill a constraint. |
class |
VacantJsonIndexException
A
VacantJsonIndexException is a JsonValueException
indicates that a JSON structure has no JSON value for a given index. |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonHandlingException
A
JsonHandlingException is a JsonProcessingException that
indicates that a JsonHandler couldn't handle an event in one of the
callback methods. |
| Modifier and Type | Method and Description |
|---|---|
Result |
JsonHandler.getResult()
Returns the calculated result.
|
Result |
IdleJsonHandler.getResult() |
void |
JsonHandler.onArrayBegin()
Called when the parsing of a JSON array started.
|
void |
IdleJsonHandler.onArrayBegin() |
void |
JsonHandler.onArrayEnd()
Called when the parsing of a JSON array ended.
|
void |
IdleJsonHandler.onArrayEnd() |
void |
JsonHandler.onBoolean(boolean value)
Called when the parsing of a JSON object encountered a JSON boolean.
|
void |
IdleJsonHandler.onBoolean(boolean value) |
void |
JsonHandler.onDocumentBegin()
Called when the parsing of a JSON document started.
|
void |
IdleJsonHandler.onDocumentBegin() |
void |
JsonHandler.onDocumentEnd()
Called when the parsing of a JSON document ended.
|
void |
IdleJsonHandler.onDocumentEnd() |
void |
JsonHandler.onDouble(double value)
Called when the parsing of a JSON object encountered a JSON number, that
represents a decimal value.
|
void |
IdleJsonHandler.onDouble(double value) |
void |
JsonHandler.onLong(long value)
Called when the parsing of a JSON object encountered a JSON number, that
represents an integer value.
|
void |
IdleJsonHandler.onLong(long value) |
void |
JsonHandler.onName(String name)
Called when the parsing of a JSON object encountered the name for the
next JSON value.
|
void |
IdleJsonHandler.onName(String name) |
void |
JsonHandler.onNext()
Called when the parsing of a JSON array or JSON object encountered
another element.
|
void |
IdleJsonHandler.onNext() |
void |
JsonHandler.onNull()
Called when the parsing of a JSON object encountered a JSON null.
|
void |
IdleJsonHandler.onNull() |
void |
JsonHandler.onObjectBegin()
Called when the parsing of a JSON object started.
|
void |
IdleJsonHandler.onObjectBegin() |
void |
JsonHandler.onObjectEnd()
Called when the parsing of a JSON object ended.
|
void |
IdleJsonHandler.onObjectEnd() |
void |
JsonHandler.onString(String value)
Called when the parsing of a JSON object encountered a JSON string.
|
void |
IdleJsonHandler.onString(String value) |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonSyntaxException
A
JsonSyntaxException is a JsonException that indicates that
a JSON parser encountered a JSON syntax error while parsing a JSON document. |
| Modifier and Type | Method and Description |
|---|---|
<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) |
Copyright © 2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.