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 importantlyJsonFactoryused 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 ofJsonProcessingExceptionsubtypes 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 JsonLocationJsonProcessingException. _locationstatic JsonLocationJsonLocation. NAShared 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 JsonLocationJsonParser. currentLocation()Method that returns location of the last processed input unit (character or byte) from the input; usually for error reporting purposes.JsonLocationJsonParser. 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 JsonLocationJsonParser. getCurrentLocation()Deprecated.Since 2.17 useJsonParser.currentLocation()insteadabstract JsonLocationJacksonException. getLocation()Accessor for location information related to position within input or output (depending on operation), if available; if not available may returnnull.JsonLocationJsonProcessingException. getLocation()JsonLocationJsonStreamContext. getStartLocation(java.lang.Object srcRef)Deprecated.Since 2.13 useJsonStreamContext.startLocation(com.fasterxml.jackson.core.io.ContentReference)insteadabstract JsonLocationJsonParser. getTokenLocation()Deprecated.Since 2.17 useJsonParser.currentTokenLocation()insteadJsonLocationJsonStreamContext. 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 JsonParseExceptionJsonParser. _constructReadException(java.lang.String msg, JsonLocation loc)Helper method for constructingJsonParseExceptionbased on current state of the parser, except for specifiedJsonLocationfor 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 JsonLocationParserMinimalBase. _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".JsonLocationParserBase. getCurrentLocation()Deprecated.JsonLocationParserBase. 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 JsonLocationStreamReadException. _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 JsonLocationFilteringParserDelegate. currentLocation()JsonLocationFilteringParserDelegate. currentTokenLocation()JsonLocationFilteringParserDelegate. getCurrentLocation()Deprecated.JsonLocationFilteringParserDelegate. 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 JsonLocationJsonParserBase. _currentLocationMinusOne()protected JsonLocationReaderBasedJsonParser. _currentLocationMinusOne()protected JsonLocationUTF8DataInputJsonParser. _currentLocationMinusOne()protected JsonLocationUTF8StreamJsonParser. _currentLocationMinusOne()abstract JsonLocationJsonParserBase. currentLocation()JsonLocationReaderBasedJsonParser. currentLocation()JsonLocationUTF8DataInputJsonParser. currentLocation()JsonLocationUTF8StreamJsonParser. currentLocation()abstract JsonLocationJsonParserBase. currentTokenLocation()JsonLocationReaderBasedJsonParser. currentTokenLocation()JsonLocationUTF8DataInputJsonParser. currentTokenLocation()JsonLocationUTF8StreamJsonParser. currentTokenLocation()JsonLocationDupDetector. findLocation()JsonLocationJsonParserBase. getCurrentLocation()Deprecated.JsonLocationJsonReadContext. getStartLocation(java.lang.Object rawSrc)Deprecated.JsonLocationJsonParserBase. getTokenLocation()Deprecated.JsonLocationJsonReadContext. 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 JsonLocationNonBlockingJsonParserBase. _currentLocationMinusOne()JsonLocationNonBlockingJsonParserBase. currentLocation()JsonLocationNonBlockingJsonParserBase. 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 JsonLocationJsonParserDelegate. currentLocation()JsonLocationJsonParserDelegate. currentTokenLocation()JsonLocationJsonParserDelegate. getCurrentLocation()Deprecated.JsonLocationJsonParserDelegate. getTokenLocation()Deprecated.
-