Uses of Class
com.fasterxml.jackson.core.JsonLocation
-
Packages that use JsonLocation Package Description com.fasterxml.jackson.core Main public API classes of the core streaming JSON processor: most importantlyJsonFactory
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 ofJsonProcessingException
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. -
-
Uses of JsonLocation in com.fasterxml.jackson.core
Fields in com.fasterxml.jackson.core declared as JsonLocation Modifier and Type Field 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.Methods in com.fasterxml.jackson.core that return JsonLocation Modifier and Type Method Description JsonLocation
JsonParser. currentLocation()
Method that returns location of the last processed input unit (character or byte) from the input; usually for error reporting purposes.JsonLocation
JsonParser. currentTokenLocation()
Method that return the starting location of the current (most recently returned) token; that is, the position of the first input unit (character or byte) from input that starts the current token.abstract JsonLocation
JsonParser. getCurrentLocation()
Deprecated.Since 2.17 useJsonParser.currentLocation()
insteadabstract JsonLocation
JacksonException. getLocation()
Accessor for location information related to position within input or output (depending on operation), if available; if not available may returnnull
.JsonLocation
JsonProcessingException. getLocation()
JsonLocation
JsonStreamContext. getStartLocation(java.lang.Object srcRef)
Deprecated.Since 2.13 useJsonStreamContext.startLocation(com.fasterxml.jackson.core.io.ContentReference)
insteadabstract JsonLocation
JsonParser. getTokenLocation()
Deprecated.Since 2.17 useJsonParser.currentTokenLocation()
insteadJsonLocation
JsonStreamContext. startLocation(ContentReference 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.Methods in com.fasterxml.jackson.core with parameters of type JsonLocation Modifier and Type Method Description protected JsonParseException
JsonParser. _constructReadException(java.lang.String msg, JsonLocation loc)
Helper method for constructingJsonParseException
based on current state of the parser, except for specifiedJsonLocation
for problem location (which may not be the exact current location)Constructors in com.fasterxml.jackson.core with parameters of type JsonLocation Constructor Description JsonParseException(JsonParser p, java.lang.String msg, JsonLocation loc)
JsonParseException(JsonParser p, java.lang.String msg, JsonLocation loc, java.lang.Throwable rootCause)
JsonParseException(java.lang.String msg, JsonLocation loc)
Deprecated.JsonParseException(java.lang.String msg, JsonLocation loc, java.lang.Throwable rootCause)
Deprecated.JsonProcessingException(java.lang.String msg, JsonLocation loc)
JsonProcessingException(java.lang.String msg, JsonLocation loc, java.lang.Throwable rootCause)
-
Uses of JsonLocation in com.fasterxml.jackson.core.base
Methods in com.fasterxml.jackson.core.base that return JsonLocation Modifier and Type Method Description protected JsonLocation
ParserMinimalBase. _currentLocationMinusOne()
Factory method used to provide location for cases where we must read and consume a single "wrong" character (to possibly allow error recovery), but need to report accurate location for that character: if so, the current location is past location we want, and location we want will be "one location earlier".JsonLocation
ParserBase. getCurrentLocation()
Deprecated.JsonLocation
ParserBase. getTokenLocation()
Deprecated. -
Uses of JsonLocation in com.fasterxml.jackson.core.exc
Methods in com.fasterxml.jackson.core.exc that return JsonLocation Modifier and Type Method Description protected static JsonLocation
StreamReadException. _currentLocation(JsonParser p)
Constructors in com.fasterxml.jackson.core.exc with parameters of type JsonLocation Constructor Description StreamConstraintsException(java.lang.String msg, JsonLocation loc)
StreamReadException(JsonParser p, java.lang.String msg, JsonLocation loc)
StreamReadException(JsonParser p, java.lang.String msg, JsonLocation loc, java.lang.Throwable rootCause)
StreamReadException(java.lang.String msg, JsonLocation loc, java.lang.Throwable rootCause)
-
Uses of JsonLocation in com.fasterxml.jackson.core.filter
Methods in com.fasterxml.jackson.core.filter that return JsonLocation Modifier and Type Method Description JsonLocation
FilteringParserDelegate. currentLocation()
JsonLocation
FilteringParserDelegate. currentTokenLocation()
JsonLocation
FilteringParserDelegate. getCurrentLocation()
Deprecated.JsonLocation
FilteringParserDelegate. getTokenLocation()
Deprecated. -
Uses of JsonLocation in com.fasterxml.jackson.core.json
Methods in com.fasterxml.jackson.core.json that return JsonLocation Modifier and Type Method Description protected abstract JsonLocation
JsonParserBase. _currentLocationMinusOne()
protected JsonLocation
ReaderBasedJsonParser. _currentLocationMinusOne()
protected JsonLocation
UTF8DataInputJsonParser. _currentLocationMinusOne()
protected JsonLocation
UTF8StreamJsonParser. _currentLocationMinusOne()
abstract JsonLocation
JsonParserBase. currentLocation()
JsonLocation
ReaderBasedJsonParser. currentLocation()
JsonLocation
UTF8DataInputJsonParser. currentLocation()
JsonLocation
UTF8StreamJsonParser. currentLocation()
abstract JsonLocation
JsonParserBase. currentTokenLocation()
JsonLocation
ReaderBasedJsonParser. currentTokenLocation()
JsonLocation
UTF8DataInputJsonParser. currentTokenLocation()
JsonLocation
UTF8StreamJsonParser. currentTokenLocation()
JsonLocation
DupDetector. findLocation()
JsonLocation
JsonParserBase. getCurrentLocation()
Deprecated.JsonLocation
JsonReadContext. getStartLocation(java.lang.Object rawSrc)
Deprecated.JsonLocation
JsonParserBase. getTokenLocation()
Deprecated.JsonLocation
JsonReadContext. startLocation(ContentReference srcRef)
-
Uses of JsonLocation in com.fasterxml.jackson.core.json.async
Methods in com.fasterxml.jackson.core.json.async that return JsonLocation Modifier and Type Method Description protected JsonLocation
NonBlockingJsonParserBase. _currentLocationMinusOne()
JsonLocation
NonBlockingJsonParserBase. currentLocation()
JsonLocation
NonBlockingJsonParserBase. currentTokenLocation()
-
Uses of JsonLocation in com.fasterxml.jackson.core.util
Methods in com.fasterxml.jackson.core.util that return JsonLocation Modifier and Type Method Description JsonLocation
JsonParserDelegate. currentLocation()
JsonLocation
JsonParserDelegate. currentTokenLocation()
JsonLocation
JsonParserDelegate. getCurrentLocation()
Deprecated.JsonLocation
JsonParserDelegate. getTokenLocation()
Deprecated.
-