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. |
com.fasterxml.jackson.core.base |
Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
|
com.fasterxml.jackson.core.exc |
Package for some of
JsonProcessingException
subtypes contained by streaming API. |
com.fasterxml.jackson.core.filter | |
com.fasterxml.jackson.core.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
com.fasterxml.jackson.core.json.async |
Non-blocking ("async") JSON parser implementation.
|
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Field and Description |
---|---|
protected JsonLocation |
JsonProcessingException._location |
static JsonLocation |
JsonLocation.NA
Shared immutable "N/A location" that can be returned to indicate
that no location information is available.
|
Modifier and Type | Method and Description |
---|---|
abstract JsonLocation |
JsonParser.getCurrentLocation()
Method that returns location of the last processed character;
usually for error reporting purposes.
|
JsonLocation |
JsonProcessingException.getLocation() |
JsonLocation |
JsonStreamContext.getStartLocation(Object srcRef)
Optional method that may be used to access starting location of this context:
for example, in case of JSON `Object` context, offset at which `[` token was
read or written.
|
abstract JsonLocation |
JsonParser.getTokenLocation()
Method that return the starting location of the current
token; that is, position of the first character from input
that starts the current token.
|
Constructor and Description |
---|
JsonParseException(JsonParser p,
String msg,
JsonLocation loc) |
JsonParseException(JsonParser p,
String msg,
JsonLocation loc,
Throwable root) |
JsonParseException(String msg,
JsonLocation loc)
Deprecated.
|
JsonParseException(String msg,
JsonLocation loc,
Throwable root)
Deprecated.
|
JsonProcessingException(String msg,
JsonLocation loc) |
JsonProcessingException(String msg,
JsonLocation loc,
Throwable rootCause) |
Modifier and Type | Method and Description |
---|---|
JsonLocation |
ParserBase.getCurrentLocation()
Method that returns location of the last processed character;
usually for error reporting purposes
|
JsonLocation |
ParserBase.getTokenLocation()
Method that return the starting location of the current
token; that is, position of the first character from input
that starts the current token.
|
Constructor and Description |
---|
StreamReadException(JsonParser p,
String msg,
JsonLocation loc) |
StreamReadException(String msg,
JsonLocation loc,
Throwable rootCause) |
Modifier and Type | Method and Description |
---|---|
JsonLocation |
FilteringParserDelegate.getCurrentLocation() |
JsonLocation |
FilteringParserDelegate.getTokenLocation() |
Modifier and Type | Method and Description |
---|---|
JsonLocation |
DupDetector.findLocation() |
JsonLocation |
UTF8StreamJsonParser.getCurrentLocation() |
JsonLocation |
UTF8DataInputJsonParser.getCurrentLocation() |
JsonLocation |
ReaderBasedJsonParser.getCurrentLocation() |
JsonLocation |
JsonReadContext.getStartLocation(Object srcRef) |
JsonLocation |
UTF8StreamJsonParser.getTokenLocation() |
JsonLocation |
UTF8DataInputJsonParser.getTokenLocation() |
JsonLocation |
ReaderBasedJsonParser.getTokenLocation() |
Modifier and Type | Method and Description |
---|---|
JsonLocation |
NonBlockingJsonParserBase.getCurrentLocation() |
JsonLocation |
NonBlockingJsonParserBase.getTokenLocation() |
Modifier and Type | Method and Description |
---|---|
JsonLocation |
JsonParserDelegate.getCurrentLocation() |
JsonLocation |
JsonParserDelegate.getTokenLocation() |
Copyright © 2008–2019 FasterXML. All rights reserved.