Uses of Class
com.fasterxml.jackson.core.JsonLocation
Packages that use JsonLocation
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances.Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
Package for some of
JsonProcessingException
subtypes contained by streaming API.JSON-specific parser and generator implementation classes that
Jackson defines and uses.
Non-blocking ("async") JSON parser implementation.
Utility classes used by Jackson Core functionality.
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.Contains implementation classes of deserialization part of
data binding.
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Contains concrete
JsonNode implementations
Jackson uses for the Tree model.Utility classes for Mapper package.
-
Uses of JsonLocation in com.fasterxml.jackson.core
Fields in com.fasterxml.jackson.core declared as JsonLocationModifier and TypeFieldDescriptionprotected JsonLocationJsonProcessingException._locationstatic final 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 JsonLocationModifier and TypeMethodDescriptionJsonParser.currentLocation()Method that returns location of the last processed input unit (character or byte) from the input; usually for error reporting purposes.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 JsonLocationJsonParser.getCurrentLocation()Deprecated.abstract JsonLocationJacksonException.getLocation()Accessor for location information related to position within input or output (depending on operation), if available; if not available may returnnull.JsonProcessingException.getLocation()JsonStreamContext.getStartLocation(Object srcRef) Deprecated.Since 2.13 useJsonStreamContext.startLocation(com.fasterxml.jackson.core.io.ContentReference)insteadabstract JsonLocationJsonParser.getTokenLocation()Deprecated.Since 2.17 useJsonParser.currentTokenLocation()insteadJsonStreamContext.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 JsonLocationModifier and TypeMethodDescriptionprotected JsonParseExceptionJsonParser._constructReadException(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 JsonLocationModifierConstructorDescriptionJsonParseException(JsonParser p, String msg, JsonLocation loc) JsonParseException(JsonParser p, String msg, JsonLocation loc, Throwable rootCause) JsonParseException(String msg, JsonLocation loc) Deprecated.JsonParseException(String msg, JsonLocation loc, Throwable rootCause) Deprecated.protectedJsonProcessingException(String msg, JsonLocation loc) protectedJsonProcessingException(String msg, JsonLocation loc, Throwable rootCause) -
Uses of JsonLocation in com.fasterxml.jackson.core.base
Methods in com.fasterxml.jackson.core.base that return JsonLocationModifier and TypeMethodDescriptionprotected 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".ParserBase.getCurrentLocation()Deprecated.ParserBase.getTokenLocation()Deprecated. -
Uses of JsonLocation in com.fasterxml.jackson.core.exc
Methods in com.fasterxml.jackson.core.exc that return JsonLocationModifier and TypeMethodDescriptionprotected static JsonLocationStreamReadException._currentLocation(JsonParser p) Constructors in com.fasterxml.jackson.core.exc with parameters of type JsonLocationModifierConstructorDescriptionStreamConstraintsException(String msg, JsonLocation loc) protectedStreamReadException(JsonParser p, String msg, JsonLocation loc) protectedStreamReadException(JsonParser p, String msg, JsonLocation loc, Throwable rootCause) protectedStreamReadException(String msg, JsonLocation loc, Throwable rootCause) -
Uses of JsonLocation in com.fasterxml.jackson.core.filter
Methods in com.fasterxml.jackson.core.filter that return JsonLocationModifier and TypeMethodDescriptionFilteringParserDelegate.currentLocation()FilteringParserDelegate.currentTokenLocation()FilteringParserDelegate.getCurrentLocation()Deprecated.FilteringParserDelegate.getTokenLocation()Deprecated. -
Uses of JsonLocation in com.fasterxml.jackson.core.json
Methods in com.fasterxml.jackson.core.json that return JsonLocationModifier and TypeMethodDescriptionprotected abstract JsonLocationJsonParserBase._currentLocationMinusOne()protected JsonLocationReaderBasedJsonParser._currentLocationMinusOne()protected JsonLocationUTF8DataInputJsonParser._currentLocationMinusOne()protected JsonLocationUTF8StreamJsonParser._currentLocationMinusOne()abstract JsonLocationJsonParserBase.currentLocation()ReaderBasedJsonParser.currentLocation()UTF8DataInputJsonParser.currentLocation()UTF8StreamJsonParser.currentLocation()abstract JsonLocationJsonParserBase.currentTokenLocation()ReaderBasedJsonParser.currentTokenLocation()UTF8DataInputJsonParser.currentTokenLocation()UTF8StreamJsonParser.currentTokenLocation()DupDetector.findLocation()final JsonLocationJsonParserBase.getCurrentLocation()Deprecated.JsonReadContext.getStartLocation(Object rawSrc) Deprecated.final JsonLocationJsonParserBase.getTokenLocation()Deprecated.JsonReadContext.startLocation(ContentReference srcRef) -
Uses of JsonLocation in com.fasterxml.jackson.core.json.async
Methods in com.fasterxml.jackson.core.json.async that return JsonLocationModifier and TypeMethodDescriptionprotected JsonLocationNonBlockingJsonParserBase._currentLocationMinusOne()NonBlockingJsonParserBase.currentLocation()NonBlockingJsonParserBase.currentTokenLocation() -
Uses of JsonLocation in com.fasterxml.jackson.core.util
Methods in com.fasterxml.jackson.core.util that return JsonLocationModifier and TypeMethodDescriptionJsonParserDelegate.currentLocation()JsonParserDelegate.currentTokenLocation()JsonParserDelegate.getCurrentLocation()Deprecated.JsonParserDelegate.getTokenLocation()Deprecated. -
Uses of JsonLocation in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return JsonLocationModifier and TypeMethodDescriptionMappingIterator.getCurrentLocation()Convenience method, functionally equivalent to:iterator.getParser().getCurrentLocation()Constructors in com.fasterxml.jackson.databind with parameters of type JsonLocationModifierConstructorDescriptionprotectedDatabindException(String msg, JsonLocation loc) protectedDatabindException(String msg, JsonLocation loc, Throwable rootCause) JsonMappingException(Closeable processor, String msg, JsonLocation loc) JsonMappingException(String msg, JsonLocation loc) Deprecated.Since 2.7 Use variant that takesJsonParserinsteadJsonMappingException(String msg, JsonLocation loc, Throwable rootCause) Deprecated.Since 2.7 Use variant that takesJsonParserinstead -
Uses of JsonLocation in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser that return JsonLocationMethods in com.fasterxml.jackson.databind.deser with parameters of type JsonLocationModifier and TypeMethodDescriptionvoidUnresolvedForwardReference.addUnresolvedId(Object id, Class<?> type, JsonLocation where) Constructors in com.fasterxml.jackson.databind.deser with parameters of type JsonLocationModifierConstructorDescriptionUnresolvedForwardReference(JsonParser p, String msg, JsonLocation loc, ReadableObjectId roid) UnresolvedId(Object id, Class<?> type, JsonLocation where) -
Uses of JsonLocation in com.fasterxml.jackson.databind.deser.impl
Methods in com.fasterxml.jackson.databind.deser.impl that return JsonLocation -
Uses of JsonLocation in com.fasterxml.jackson.databind.exc
Constructors in com.fasterxml.jackson.databind.exc with parameters of type JsonLocationModifierConstructorDescriptionIgnoredPropertyException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) IgnoredPropertyException(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) Deprecated.Since 2.7InvalidFormatException(String msg, JsonLocation loc, Object value, Class<?> targetType) Deprecated.Since 2.7 Use variant that takesJsonParserprotectedMismatchedInputException(JsonParser p, String msg, JsonLocation loc) protectedPropertyBindingException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) protectedPropertyBindingException(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) Deprecated.Since 2.7UnrecognizedPropertyException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) UnrecognizedPropertyException(String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) Deprecated.Since 2.7 -
Uses of JsonLocation in com.fasterxml.jackson.databind.node
Methods in com.fasterxml.jackson.databind.node that return JsonLocationModifier and TypeMethodDescriptionTreeTraversingParser.currentLocation()TreeTraversingParser.currentTokenLocation()TreeTraversingParser.getCurrentLocation()Deprecated.TreeTraversingParser.getTokenLocation()Deprecated. -
Uses of JsonLocation in com.fasterxml.jackson.databind.util
Fields in com.fasterxml.jackson.databind.util declared as JsonLocationModifier and TypeFieldDescriptionprotected JsonLocationTokenBuffer.Parser._locationprotected final JsonLocationTokenBufferReadContext._startLocationMethods in com.fasterxml.jackson.databind.util that return JsonLocationModifier and TypeMethodDescriptionTokenBuffer.Parser.currentLocation()TokenBuffer.Parser.currentTokenLocation()TokenBuffer.Parser.getCurrentLocation()Deprecated.TokenBuffer.Parser.getTokenLocation()Deprecated.Methods in com.fasterxml.jackson.databind.util with parameters of type JsonLocationConstructors in com.fasterxml.jackson.databind.util with parameters of type JsonLocationModifierConstructorDescriptionprotectedTokenBufferReadContext(JsonStreamContext base, JsonLocation startLoc)
JsonParser.currentLocation()instead