Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonGenerator )
instances. |
Modifier and Type | Field and Description |
---|---|
protected RequestPayload |
JsonParser._requestPayload
Optional container that holds the request payload which will be displayed on JSON parsing error.
|
protected RequestPayload |
JsonParseException._requestPayload
Optional payload that can be assigned to pass along for error reporting
or handling purposes.
|
Modifier and Type | Method and Description |
---|---|
RequestPayload |
JsonParseException.getRequestPayload()
Method that may be called to find payload that was being parsed, if
one was specified for parser that threw this Exception.
|
Modifier and Type | Method and Description |
---|---|
void |
JsonParser.setRequestPayloadOnError(RequestPayload payload)
Sets the payload to be passed if
JsonParseException is thrown. |
JsonParseException |
JsonParseException.withRequestPayload(RequestPayload p)
Fluent method that may be used to assign payload to this exception,
to let recipient access it for diagnostics purposes.
|
Copyright © 2008–2018 FasterXML. All rights reserved.