Uses of Class
com.fasterxml.jackson.core.JsonParser
Packages that use JsonParser
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.Package that contains interfaces needed for dynamic, pluggable
format (auto)detection; as well as basic utility classes for
simple format detection functionality.
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 public standard implementations of abstraction that
Jackson uses.
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver.Contains concrete
JsonNode implementations
Jackson uses for the Tree model.Utility classes for Mapper package.
-
Uses of JsonParser in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core that return JsonParserModifier and TypeMethodDescriptionprotected JsonParserJsonFactory._createParser(byte[] data, int offset, int len, IOContext ctxt) Overridable factory method that actually instantiates parser using givenReaderobject for reading content passed as raw byte array.protected JsonParserJsonFactory._createParser(char[] data, int offset, int len, IOContext ctxt, boolean recyclable) Overridable factory method that actually instantiates parser using givenchar[]object for accessing content.protected JsonParserJsonFactory._createParser(DataInput input, IOContext ctxt) Optional factory method, expected to be overriddenprotected JsonParserJsonFactory._createParser(InputStream in, IOContext ctxt) Overridable factory method that actually instantiates desired parser givenInputStreamand context object.protected JsonParserJsonFactory._createParser(Reader r, IOContext ctxt) Overridable factory method that actually instantiates parser using givenReaderobject for reading content.JsonParser.configure(JsonParser.Feature f, boolean state) Method for enabling or disabling specified feature (checkJsonParser.Featurefor list of features)JsonFactory.createJsonParser(byte[] data) Deprecated.JsonFactory.createJsonParser(byte[] data, int offset, int len) Deprecated.Since 2.2, useJsonFactory.createParser(byte[],int,int)instead.JsonFactory.createJsonParser(File f) Deprecated.Since 2.2, useJsonFactory.createParser(File)instead.JsonFactory.createJsonParser(InputStream in) Deprecated.Since 2.2, useJsonFactory.createParser(InputStream)instead.JsonFactory.createJsonParser(Reader r) Deprecated.Since 2.2, useJsonFactory.createParser(Reader)instead.JsonFactory.createJsonParser(String content) Deprecated.Since 2.2, useJsonFactory.createParser(String)instead.JsonFactory.createJsonParser(URL url) Deprecated.Since 2.2, useJsonFactory.createParser(URL)instead.JsonFactory.createNonBlockingByteArrayParser()Optional method for constructing parser for non-blocking parsing viaByteArrayFeederinterface (accessed usinggetNonBlockingInputFeeder()from constructed instance).abstract JsonParserTokenStreamFactory.createNonBlockingByteArrayParser()Optional method for constructing parser for non-blocking parsing viaByteArrayFeederinterface (accessed usinggetNonBlockingInputFeeder()from constructed instance).JsonFactory.createNonBlockingByteBufferParser()Optional method for constructing parser for non-blocking parsing viaByteBufferFeederinterface (accessed usinggetNonBlockingInputFeeder()from constructed instance).abstract JsonParserTokenStreamFactory.createNonBlockingByteBufferParser()Optional method for constructing parser for non-blocking parsing viaByteBufferFeederinterface (accessed usinggetNonBlockingInputFeeder()from constructed instance).JsonFactory.createParser(byte[] data) Method for constructing parser for parsing the contents of given byte array.JsonFactory.createParser(byte[] data, int offset, int len) Method for constructing parser for parsing the contents of given byte array.JsonFactory.createParser(char[] content) Method for constructing parser for parsing contents of given char array.JsonFactory.createParser(char[] content, int offset, int len) Method for constructing parser for parsing contents of given char array.JsonFactory.createParser(DataInput in) Optional method for constructing parser for reading contents from specifiedDataInputinstance.JsonFactory.createParser(File f) Method for constructing JSON parser instance to parse contents of specified file.JsonFactory.createParser(InputStream in) Method for constructing JSON parser instance to parse the contents accessed via specified input stream.JsonFactory.createParser(Reader r) Method for constructing parser for parsing the contents accessed via specified Reader.JsonFactory.createParser(String content) Method for constructing parser for parsing contents of given String.JsonFactory.createParser(URL url) Method for constructing JSON parser instance to parse contents of resource reference by given URL.abstract JsonParserTokenStreamFactory.createParser(byte[] data) abstract JsonParserTokenStreamFactory.createParser(byte[] data, int offset, int len) abstract JsonParserTokenStreamFactory.createParser(char[] content) abstract JsonParserTokenStreamFactory.createParser(char[] content, int offset, int len) abstract JsonParserTokenStreamFactory.createParser(DataInput in) abstract JsonParserTokenStreamFactory.createParser(File f) abstract JsonParserTokenStreamFactory.createParser(InputStream in) abstract JsonParserTokenStreamFactory.createParser(Reader r) abstract JsonParserTokenStreamFactory.createParser(String content) abstract JsonParserTokenStreamFactory.createParser(URL url) JsonParser.disable(JsonParser.Feature f) Method for disabling specified feature (checkJsonParser.Featurefor list of features)JsonParser.enable(JsonParser.Feature f) Method for enabling specified parser feature (checkJsonParser.Featurefor list of features)JsonParseException.getProcessor()JsonParser.overrideFormatFeatures(int values, int mask) Bulk set method for (re)setting states ofFormatFeatures, by specifying values (set / clear) along with a mask, to determine which features to change, if any.JsonParser.overrideStdFeatures(int values, int mask) Bulk set method for (re)setting states of features specified bymask.JsonParser.setFeatureMask(int mask) Deprecated.Since 2.7, useoverrideStdFeatures(int, int)insteadabstract JsonParserJsonParser.skipChildren()Method that will skip all child tokens of an array or object token that the parser currently points to, if (and only if) stream points toJsonToken.START_OBJECTorJsonToken.START_ARRAY.TreeNode.traverse()Method for constructing aJsonParserinstance for iterating over contents of the tree that this node is root of.TreeNode.traverse(ObjectCodec codec) Same asTreeNode.traverse(), but additionally passesObjectCodecto use ifreadValueAs(Class)is used (otherwise caller must callsetCodec(com.fasterxml.jackson.core.ObjectCodec)on response explicitly).abstract JsonParserObjectCodec.treeAsTokens(TreeNode n) Method for constructing aJsonParserfor reading contents of a JSON tree, as if it was external serialized JSON content.abstract JsonParserTreeCodec.treeAsTokens(TreeNode node) Methods in com.fasterxml.jackson.core with parameters of type JsonParserModifier and TypeMethodDescriptionprotected voidJsonGenerator._copyCurrentContents(JsonParser p) protected voidJsonGenerator._copyCurrentFloatValue(JsonParser p) Method for copying currentJsonToken.VALUE_NUMBER_FLOATvalue; overridable by format backend implementations.protected voidJsonGenerator._copyCurrentFloatValueExact(JsonParser p) Method for copying currentJsonToken.VALUE_NUMBER_FLOATvalue; overridable by format backend implementations.protected voidJsonGenerator._copyCurrentIntValue(JsonParser p) Method for copying currentJsonToken.VALUE_NUMBER_FLOATvalue; overridable by format backend implementations.protected voidJsonGenerator._copyCurrentStringValue(JsonParser p) Method for copying currentJsonToken.VALUE_STRINGvalue; overridable by format backend implementations.voidJsonGenerator.copyCurrentEvent(JsonParser p) Method for copying contents of the current event that the given parser instance points to.voidJsonGenerator.copyCurrentEventExact(JsonParser p) Same asJsonGenerator.copyCurrentEvent(com.fasterxml.jackson.core.JsonParser)with the exception that copying of numeric values tries to avoid any conversion losses; in particular for floating-point numbers.voidJsonGenerator.copyCurrentStructure(JsonParser p) Method for copying contents of the current event and following events that it encloses the given parser instance points to.abstract <T extends TreeNode>
TObjectCodec.readTree(JsonParser p) Method for deserializing JSON content as tree expressed using set ofTreeNodeinstances.abstract <T extends TreeNode>
TTreeCodec.readTree(JsonParser p) abstract <T> TObjectCodec.readValue(JsonParser p, ResolvedType valueType) Method to deserialize JSON content into a POJO, type specified with fully resolved type object (so it can be a generic type, including containers likeCollectionandMap).abstract <T> TObjectCodec.readValue(JsonParser p, TypeReference<T> valueTypeRef) Method to deserialize JSON content into a Java type, reference to which is passed as argument.abstract <T> TObjectCodec.readValue(JsonParser p, Class<T> valueType) Method to deserialize JSON content into a non-container type (it can be an array type, however): typically a bean, array or a wrapper type (likeBoolean).abstract <T> Iterator<T>ObjectCodec.readValues(JsonParser p, ResolvedType valueType) Method for reading sequence of Objects from parser stream, all with same specified value type.abstract <T> Iterator<T>ObjectCodec.readValues(JsonParser p, TypeReference<T> valueTypeRef) Method for reading sequence of Objects from parser stream, all with same specified value type.abstract <T> Iterator<T>ObjectCodec.readValues(JsonParser p, Class<T> valueType) Method for reading sequence of Objects from parser stream, all with same specified value type.JsonParseException.withParser(JsonParser p) Fluent method that may be used to assign originatingJsonParser, to be accessed usingJsonParseException.getProcessor().Constructors in com.fasterxml.jackson.core with parameters of type JsonParserModifierConstructorDescriptionJsonParseException(JsonParser p, String msg) Constructor that uses current parsing location as location, and sets processor (accessible viaJsonParseException.getProcessor()) to specified parser.JsonParseException(JsonParser p, String msg, JsonLocation loc) JsonParseException(JsonParser p, String msg, JsonLocation loc, Throwable rootCause) JsonParseException(JsonParser p, String msg, Throwable rootCause) -
Uses of JsonParser in com.fasterxml.jackson.core.base
Subclasses of JsonParser in com.fasterxml.jackson.core.baseModifier and TypeClassDescriptionclassIntermediate base class used by all JacksonJsonParserimplementations.classIntermediate base class used by all JacksonJsonParserimplementations, but does not add any additional fields that depend on particular method of obtaining input.Methods in com.fasterxml.jackson.core.base that return JsonParserModifier and TypeMethodDescriptionParserBase.disable(JsonParser.Feature f) ParserBase.enable(JsonParser.Feature f) ParserBase.overrideStdFeatures(int values, int mask) ParserBase.setFeatureMask(int newMask) Deprecated.ParserMinimalBase.skipChildren() -
Uses of JsonParser in com.fasterxml.jackson.core.exc
Fields in com.fasterxml.jackson.core.exc declared as JsonParserMethods in com.fasterxml.jackson.core.exc that return JsonParserMethods in com.fasterxml.jackson.core.exc with parameters of type JsonParserModifier and TypeMethodDescriptionprotected static JsonLocationStreamReadException._currentLocation(JsonParser p) InputCoercionException.withParser(JsonParser p) Fluent method that may be used to assign originatingJsonParser, to be accessed usingStreamReadException.getProcessor().abstract StreamReadExceptionStreamReadException.withParser(JsonParser p) Fluent method that may be used to assign originatingJsonParser, to be accessed usingStreamReadException.getProcessor().Constructors in com.fasterxml.jackson.core.exc with parameters of type JsonParserModifierConstructorDescriptionInputCoercionException(JsonParser p, String msg, JsonToken inputType, Class<?> targetType) Constructor that uses current parsing location as location, and sets processor (accessible viaStreamReadException.getProcessor()) to specified parser.protectedStreamReadException(JsonParser p, String msg) protectedStreamReadException(JsonParser p, String msg, JsonLocation loc) protectedStreamReadException(JsonParser p, String msg, JsonLocation loc, Throwable rootCause) protectedStreamReadException(JsonParser p, String msg, Throwable rootCause) -
Uses of JsonParser in com.fasterxml.jackson.core.filter
Subclasses of JsonParser in com.fasterxml.jackson.core.filterModifier and TypeClassDescriptionclassSpecializedJsonParserDelegatethat allows use ofTokenFilterfor outputting a subset of content that is visible to callerMethods in com.fasterxml.jackson.core.filter that return JsonParserModifier and TypeMethodDescriptionFilteringParserDelegate.skipChildren()Need to override, re-implement similar to how method defined inParserMinimalBase, to keep state correct here.Methods in com.fasterxml.jackson.core.filter with parameters of type JsonParserModifier and TypeMethodDescriptionbooleanTokenFilter.includeValue(JsonParser p) Call made when verifying whether a scalar value is being read from a parser.Constructors in com.fasterxml.jackson.core.filter with parameters of type JsonParserModifierConstructorDescriptionFilteringParserDelegate(JsonParser p, TokenFilter f, boolean includePath, boolean allowMultipleMatches) Deprecated.FilteringParserDelegate(JsonParser p, TokenFilter f, TokenFilter.Inclusion inclusion, boolean allowMultipleMatches) -
Uses of JsonParser in com.fasterxml.jackson.core.format
Methods in com.fasterxml.jackson.core.format that return JsonParser -
Uses of JsonParser in com.fasterxml.jackson.core.io
Constructors in com.fasterxml.jackson.core.io with parameters of type JsonParser -
Uses of JsonParser in com.fasterxml.jackson.core.json
Subclasses of JsonParser in com.fasterxml.jackson.core.jsonModifier and TypeClassDescriptionclassAnother intermediate base class, only used by actual JSON-backed parser implementations.classThis is a concrete implementation ofJsonParser, which is based on aReaderto handle low-level character conversion tasks.classThis is a concrete implementation ofJsonParser, which is based on aDataInputas the input source.classThis is a concrete implementation ofJsonParser, which is based on aInputStreamas the input source.Methods in com.fasterxml.jackson.core.json that return JsonParserModifier and TypeMethodDescriptionByteSourceJsonBootstrapper.constructParser(int parserFeatures, ObjectCodec codec, ByteQuadsCanonicalizer rootByteSymbols, CharsToNameCanonicalizer rootCharSymbols, int factoryFeatures) Methods in com.fasterxml.jackson.core.json with parameters of type JsonParser -
Uses of JsonParser in com.fasterxml.jackson.core.json.async
Subclasses of JsonParser in com.fasterxml.jackson.core.json.asyncModifier and TypeClassDescriptionclassNon-blocking parser implementation for JSON content that takes its input viaByteBufferinstance(s) passed.classNon-blocking parser implementation for JSON content that takes its input viabyte[]passed.classIntermediate base class for non-blocking JSON parsers.classNon-blocking parser base implementation for JSON content. -
Uses of JsonParser in com.fasterxml.jackson.core.util
Subclasses of JsonParser in com.fasterxml.jackson.core.utilModifier and TypeClassDescriptionclassHelper class that implements delegation pattern forJsonParser, to allow for simple overridability of basic parsing functionality.classHelper class that can be used to sequence multiple physicalJsonParsers to create a single logical sequence of tokens, as a singleJsonParser.Fields in com.fasterxml.jackson.core.util declared as JsonParserModifier and TypeFieldDescriptionprotected final JsonParser[]JsonParserSequence._parsersParsers other than the first one (which is initially assigned as delegate)protected JsonParserJsonParserDelegate.delegateDelegate object that method calls are delegated to.Methods in com.fasterxml.jackson.core.util that return JsonParserModifier and TypeMethodDescriptionJsonParserDelegate.delegate()Accessor for getting the immediateJsonParserthis parser delegates calls to.JsonParserDelegate.disable(JsonParser.Feature f) JsonParserDelegate.enable(JsonParser.Feature f) JsonParserDelegate.overrideFormatFeatures(int values, int mask) JsonParserDelegate.overrideStdFeatures(int values, int mask) JsonParserDelegate.setFeatureMask(int mask) Deprecated.JsonParserDelegate.skipChildren()JsonParserSequence.skipChildren()Need to override, re-implement similar to how method defined inParserMinimalBase, to keep state correct here.Methods in com.fasterxml.jackson.core.util with parameters of type JsonParserModifier and TypeMethodDescriptionvoidJsonGeneratorDelegate.copyCurrentEvent(JsonParser p) voidJsonGeneratorDelegate.copyCurrentStructure(JsonParser p) static JsonParserSequenceJsonParserSequence.createFlattened(boolean checkForExistingToken, JsonParser first, JsonParser second) Method that will construct a sequence (possibly a sequence) that contains all given sub-parsers.static JsonParserSequenceJsonParserSequence.createFlattened(JsonParser first, JsonParser second) Deprecated.Method parameters in com.fasterxml.jackson.core.util with type arguments of type JsonParserModifier and TypeMethodDescriptionprotected voidJsonParserSequence.addFlattenedActiveParsers(List<JsonParser> listToAddIn) Constructors in com.fasterxml.jackson.core.util with parameters of type JsonParserModifierConstructorDescriptionprotectedJsonParserSequence(boolean checkForExistingToken, JsonParser[] parsers) protectedJsonParserSequence(JsonParser[] parsers) Deprecated. -
Uses of JsonParser in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as JsonParserModifier and TypeFieldDescriptionprotected JsonParserDeserializationContext._parserCurrently active parser used for deserialization.protected final JsonParserMappingIterator._parserUnderlying parser used for reading content to bind.Methods in com.fasterxml.jackson.databind that return JsonParserModifier and TypeMethodDescriptionprotected JsonParserObjectReader._considerFilter(JsonParser p, boolean multiValue) Consider filter when creating JsonParser.ObjectMapper.createNonBlockingByteArrayParser()Factory method for constructing properly initializedJsonParserto read content using non-blocking (asynchronous) mode.ObjectReader.createNonBlockingByteArrayParser()Factory method for constructing properly initializedJsonParserto read content using non-blocking (asynchronous) mode.ObjectMapper.createParser(byte[] content) Factory method for constructing properly initializedJsonParserto read content from specified byte array.ObjectMapper.createParser(byte[] content, int offset, int len) Factory method for constructing properly initializedJsonParserto read content from specified byte array.ObjectMapper.createParser(char[] content) Factory method for constructing properly initializedJsonParserto read content from specified character array Parser is not managed (or "owned") by ObjectMapper: caller is responsible for properly closing it once content reading is complete.ObjectMapper.createParser(char[] content, int offset, int len) Factory method for constructing properly initializedJsonParserto read content from specified character array.ObjectMapper.createParser(DataInput content) Factory method for constructing properly initializedJsonParserto read content using specifiedDataInput.ObjectMapper.createParser(File src) Factory method for constructing properly initializedJsonParserto read content from specifiedFile.ObjectMapper.createParser(InputStream in) Factory method for constructing properly initializedJsonParserto read content using specifiedInputStream.ObjectMapper.createParser(Reader r) Factory method for constructing properly initializedJsonParserto read content using specifiedReader.ObjectMapper.createParser(String content) Factory method for constructing properly initializedJsonParserto read content from specified String.ObjectMapper.createParser(URL src) Factory method for constructing properly initializedJsonParserto read content from specifiedFile.ObjectReader.createParser(byte[] content) Factory method for constructing properly initializedJsonParserto read content from specified byte array.ObjectReader.createParser(byte[] content, int offset, int len) Factory method for constructing properly initializedJsonParserto read content from specified byte array.ObjectReader.createParser(char[] content) Factory method for constructing properly initializedJsonParserto read content from specified character array Parser is not managed (or "owned") by ObjectReader: caller is responsible for properly closing it once content reading is complete.ObjectReader.createParser(char[] content, int offset, int len) Factory method for constructing properly initializedJsonParserto read content from specified character array.ObjectReader.createParser(DataInput content) Factory method for constructing properly initializedJsonParserto read content using specifiedDataInput.ObjectReader.createParser(File src) Factory method for constructing properly initializedJsonParserto read content from specifiedFile.ObjectReader.createParser(InputStream in) Factory method for constructing properly initializedJsonParserto read content using specifiedInputStream.ObjectReader.createParser(Reader r) Factory method for constructing properly initializedJsonParserto read content using specifiedReader.ObjectReader.createParser(String content) Factory method for constructing properly initializedJsonParserto read content from specified String.ObjectReader.createParser(URL src) Factory method for constructing properly initializedJsonParserto read content from specifiedFile.final JsonParserDeserializationContext.getParser()Method for accessing the currently active parser.MappingIterator.getParser()Accessor for getting underlying parser this iterator uses.DeserializationConfig.initialize(JsonParser p) Method called byObjectMapperandObjectReaderto modify thoseJsonParser.Featuresettings that have been configured via this config instance.DeserializationConfig.initialize(JsonParser p, FormatSchema schema) ObjectMapper.treeAsTokens(TreeNode n) Method for constructing aJsonParserout of JSON tree representation.ObjectReader.treeAsTokens(TreeNode n) Methods in com.fasterxml.jackson.databind with parameters of type JsonParserModifier and TypeMethodDescriptionprotected ObjectObjectReader._bind(JsonParser p, Object valueToUpdate) Actual implementation of value reading+binding operation.protected ObjectObjectReader._bindAndClose(JsonParser p0) protected final JsonNodeObjectReader._bindAndCloseAsTree(JsonParser p0) protected <T> MappingIterator<T>ObjectReader._bindAndReadValues(JsonParser p) protected final JsonNodeObjectReader._bindAsTree(JsonParser p) protected final JsonNodeObjectReader._bindAsTreeOrNull(JsonParser p) Same asObjectReader._bindAsTree(com.fasterxml.jackson.core.JsonParser)except end-of-input is reported by returningnull, not "missing node"protected JsonParserObjectReader._considerFilter(JsonParser p, boolean multiValue) Consider filter when creating JsonParser.protected voidObjectReader._initForMultiRead(DeserializationContext ctxt, JsonParser p) Alternative toObjectReader._initForReading(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.core.JsonParser)used in cases where reading of multiple values means that we may or may not want to advance the stream, but need to do other initialization.protected JsonTokenObjectMapper._initForReading(JsonParser p, JavaType targetType) Method called to ensure that given parser is ready for reading content for data binding.protected JsonTokenObjectReader._initForReading(DeserializationContext ctxt, JsonParser p) protected <T> MappingIterator<T>ObjectReader._newIterator(JsonParser p, DeserializationContext ctxt, JsonDeserializer<?> deser, boolean parserManaged) Factory method used to createMappingIteratorinstances; either default, or custom subtype.protected ObjectObjectMapper._readMapAndClose(JsonParser p0, JavaType valueType) protected JsonNodeObjectMapper._readTreeAndClose(JsonParser p0) Similar toObjectMapper._readMapAndClose(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.JavaType)but specialized forJsonNodereading.protected ObjectObjectMapper._readValue(DeserializationConfig cfg, JsonParser p, JavaType valueType) Actual implementation of value reading+binding operation.protected final voidObjectMapper._verifyNoTrailingTokens(JsonParser p, DeserializationContext ctxt, JavaType bindType) protected final voidObjectReader._verifyNoTrailingTokens(JsonParser p, DeserializationContext ctxt, JavaType bindType) DeserializationContext.bufferAsCopyOfValue(JsonParser p) Convenience method, equivalent to:DeserializationContext.bufferForInputBuffering(JsonParser p) Factory method used for creatingTokenBufferto temporarily contain copy of content read from specified parser; usually for purpose of reading contents later on (possibly augmeneted with injected additional content)protected DefaultDeserializationContextObjectMapper.createDeserializationContext(JsonParser p, DeserializationConfig cfg) Internal helper method called to create an instance ofDeserializationContextfor deserializing a single root value.protected DefaultDeserializationContextObjectReader.createDeserializationContext(JsonParser p) Internal helper method called to create an instance ofDeserializationContextfor deserializing a single root value.abstract TJsonDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) Method that can be called to ask implementation to deserialize JSON content into the value type this serializer handles.JsonDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, T intoValue) Alternate deserialization method (compared to the most commonly used,JsonDeserializer.deserialize(JsonParser, DeserializationContext)), which takes in initialized value instance, to be configured and/or populated by deserializer.JsonDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) Deserialization called when type being deserialized is defined to contain additional type identifier, to allow for correctly instantiating correct subtype.JsonDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer, T intoValue) Method similar toJsonDeserializer.deserializeWithType(JsonParser,DeserializationContext,TypeDeserializer)but called when merging value.DeserializationContext.extractScalarFromObject(JsonParser p, JsonDeserializer<?> deser, Class<?> scalarType) Method to call in case incoming shape is Object Value (and parser thereby points toJsonToken.START_OBJECTtoken), but a Scalar value (potentially coercible from String value) is expected.static JsonMappingExceptionJsonMappingException.from(JsonParser p, String msg) static JsonMappingExceptionJsonMappingException.from(JsonParser p, String msg, Throwable problem) DeserializationContext.handleMissingInstantiator(Class<?> instClass, ValueInstantiator valueInst, JsonParser p, String msg, Object... msgArgs) Method that deserializers should call if they fail to instantiate value due to lack of viable instantiator (usually creator, that is, constructor or static factory method).DeserializationContext.handleUnexpectedToken(JavaType targetType, JsonParser p) Method that deserializers should call if the first token of the value to deserialize is of unexpected type (that is, type of token that deserializer cannot handle).DeserializationContext.handleUnexpectedToken(JavaType targetType, JsonToken t, JsonParser p, String msg, Object... msgArgs) Method that deserializers should call if the first token of the value to deserialize is of unexpected type (that is, type of token that deserializer cannot handle).DeserializationContext.handleUnexpectedToken(Class<?> instClass, JsonParser p) Method that deserializers should call if the first token of the value to deserialize is of unexpected type (that is, type of token that deserializer cannot handle).DeserializationContext.handleUnexpectedToken(Class<?> instClass, JsonToken t, JsonParser p, String msg, Object... msgArgs) Method that deserializers should call if the first token of the value to deserialize is of unexpected type (that is, type of token that deserializer cannot handle).booleanDeserializationContext.handleUnknownProperty(JsonParser p, JsonDeserializer<?> deser, Object instanceOrClass, String propName) Method that deserializers should call if they encounter an unrecognized property (and once that is not explicitly designed as ignorable), to inform possibly configuredDeserializationProblemHandlers and let it handle the problem.DeserializationContext.handleWeirdNativeValue(JavaType targetType, Object badValue, JsonParser p) DeserializationConfig.initialize(JsonParser p) Method called byObjectMapperandObjectReaderto modify thoseJsonParser.Featuresettings that have been configured via this config instance.DeserializationConfig.initialize(JsonParser p, FormatSchema schema) <T> TDeserializationContext.readPropertyValue(JsonParser p, BeanProperty prop, JavaType type) Same asDeserializationContext.readPropertyValue(JsonParser, BeanProperty, Class)but with fully resolvedJavaTypeas target: needs to be used for generic types, for example.<T> TDeserializationContext.readPropertyValue(JsonParser p, BeanProperty prop, Class<T> type) Convenience method that may be used by composite or container deserializers, for reading one-off values for the composite type, taking into account annotations that the property (passed to this method -- usually property that has custom serializer that called this method) has.DeserializationContext.readTree(JsonParser p) Convenience method for reading the value that passedJsonParserpoints to as aJsonNode.<T extends TreeNode>
TObjectMapper.readTree(JsonParser p) Method to deserialize JSON content as a treeJsonNode.<T extends TreeNode>
TObjectReader.readTree(JsonParser p) Convenience method that binds content read using given parser, using configuration of this reader, except that content is bound as JSON tree instead of configured root value type.<T> TDeserializationContext.readValue(JsonParser p, JavaType type) <T> TDeserializationContext.readValue(JsonParser p, Class<T> type) Convenience method that may be used by composite or container deserializers, for reading one-off values contained (for sequences, it is more efficient to actually fetch deserializer once for the whole collection).final <T> TObjectMapper.readValue(JsonParser p, ResolvedType valueType) Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectMapper.readValue(JsonParser p, TypeReference<T> valueTypeRef) Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectMapper.readValue(JsonParser p, JavaType valueType) Type-safe overloaded method, basically alias forObjectMapper.readValue(JsonParser, Class).<T> TObjectMapper.readValue(JsonParser p, Class<T> valueType) Method to deserialize JSON content into a non-container type (it can be an array type, however): typically a bean, array or a wrapper type (likeBoolean).<T> TObjectReader.readValue(JsonParser p) Method that binds content read using given parser, using configuration of this reader, including expected result type.<T> TObjectReader.readValue(JsonParser p, ResolvedType valueType) Convenience method that binds content read using given parser, using configuration of this reader, except that expected value type is specified with the call (instead of currently configured root type).<T> TObjectReader.readValue(JsonParser p, TypeReference<T> valueTypeRef) Convenience method that binds content read using given parser, using configuration of this reader, except that expected value type is specified with the call (instead of currently configured root type).<T> TObjectReader.readValue(JsonParser p, JavaType valueType) Type-safe overloaded method, basically alias forObjectReader.readValue(JsonParser, ResolvedType).<T> TObjectReader.readValue(JsonParser p, Class<T> valueType) Convenience method that binds content read using given parser, using configuration of this reader, except that expected value type is specified with the call (instead of currently configured root type).<T> MappingIterator<T>ObjectMapper.readValues(JsonParser p, ResolvedType valueType) Convenience method, equivalent in function to:<T> MappingIterator<T>ObjectMapper.readValues(JsonParser p, TypeReference<T> valueTypeRef) Method for reading sequence of Objects from parser stream.<T> MappingIterator<T>ObjectMapper.readValues(JsonParser p, JavaType valueType) Convenience method, equivalent in function to:<T> MappingIterator<T>ObjectMapper.readValues(JsonParser p, Class<T> valueType) Convenience method, equivalent in function to:<T> MappingIterator<T>ObjectReader.readValues(JsonParser p) Method for reading sequence of Objects from parser stream.<T> Iterator<T>ObjectReader.readValues(JsonParser p, ResolvedType valueType) Convenience method that is equivalent to:<T> Iterator<T>ObjectReader.readValues(JsonParser p, TypeReference<T> valueTypeRef) Convenience method that is equivalent to:<T> Iterator<T>ObjectReader.readValues(JsonParser p, JavaType valueType) Convenience method that is equivalent to:<T> Iterator<T>ObjectReader.readValues(JsonParser p, Class<T> valueType) Convenience method that is equivalent to:<T> TDeserializationContext.reportTrailingTokens(Class<?> targetType, JsonParser p, JsonToken trailingToken) DeserializationContext.wrongTokenException(JsonParser p, JavaType targetType, JsonToken expToken, String extra) Helper method for constructingJsonMappingExceptionto indicate that the token encountered was of type different than what should be seen at that position, usually within a sequence of expected tokens.DeserializationContext.wrongTokenException(JsonParser p, Class<?> targetType, JsonToken expToken, String extra) Constructors in com.fasterxml.jackson.databind with parameters of type JsonParserModifierConstructorDescriptionprotectedDeserializationContext(DeserializationContext src, DeserializationConfig config, JsonParser p, InjectableValues injectableValues) Constructor used for creating actual per-call instances.protectedMappingIterator(JavaType type, JsonParser p, DeserializationContext ctxt, JsonDeserializer<?> deser, boolean managedParser, Object valueToUpdate) -
Uses of JsonParser in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser that return JsonParserModifier and TypeMethodDescriptionDataFormatReaders.Match.createParserWithMatch()Convenience method for trying to construct aJsonParserfor parsing content which is assumed to be in detected data format.Methods in com.fasterxml.jackson.databind.deser with parameters of type JsonParserModifier and TypeMethodDescriptionprotected ObjectBeanDeserializerBase._convertObjectId(JsonParser p, DeserializationContext ctxt, Object rawId, JsonDeserializer<Object> idDeser) Helper method we need to do necessary conversion from whatever native object id type is, into declared type that Jackson internals expect.protected final JsonDeserializer<Object>BeanDeserializerBase._delegateDeserializer(JsonParser p) Alternate toBeanDeserializerBase._delegateDeserializer()which will only consider_arrayDelegateDeserializerif givenJsonParserpoints toJsonToken.START_ARRAYtoken.protected final ObjectBuilderBasedDeserializer._deserialize(JsonParser p, DeserializationContext ctxt, Object builder) protected ObjectBeanDeserializer._deserializeFromArray(JsonParser p, DeserializationContext ctxt) protected ObjectBuilderBasedDeserializer._deserializeFromArray(JsonParser p, DeserializationContext ctxt) protected ObjectAbstractDeserializer._deserializeFromObjectId(JsonParser p, DeserializationContext ctxt) Method called in cases where it looks like we got an Object Id to parse and use as a reference.protected ObjectAbstractDeserializer._deserializeIfNatural(JsonParser p, DeserializationContext ctxt) protected final ObjectBeanDeserializer._deserializeOther(JsonParser p, DeserializationContext ctxt, JsonToken t) protected ObjectBeanDeserializer._deserializeUsingPropertyBased(JsonParser p, DeserializationContext ctxt) Method called to deserialize bean using "property-based creator": this means that a non-default constructor or factory method is called, and then possibly other setters.protected abstract ObjectBeanDeserializerBase._deserializeUsingPropertyBased(JsonParser p, DeserializationContext ctxt) protected ObjectBuilderBasedDeserializer._deserializeUsingPropertyBased(JsonParser p, DeserializationContext ctxt) Method called to deserialize bean using "property-based creator": this means that a non-default constructor or factory method is called, and then possibly other setters.protected final ObjectBeanDeserializer._deserializeWithErrorWrapping(JsonParser p, DeserializationContext ctxt, SettableBeanProperty prop) protected ObjectBeanDeserializer._deserializeWithExternalTypeId(JsonParser p, DeserializationContext ctxt, Object bean, ExternalTypeHandler ext) protected ObjectBeanDeserializerBase._handleTypedObjectId(JsonParser p, DeserializationContext ctxt, Object pojo, Object rawId) Offlined method called to handle "native" Object Id that has been read and known to be associated with given deserialized POJO.protected IOExceptionSettableBeanProperty._throwAsIOE(JsonParser p, Exception e) protected voidSettableBeanProperty._throwAsIOE(JsonParser p, Exception e, Object value) Method that takes in exception of any type, and casts or wraps it to an IOException or its subclass.protected ObjectDefaultDeserializationContext._unwrapAndDeserialize(JsonParser p, JavaType rootType, JsonDeserializer<Object> deser, Object valueToUpdate) abstract DefaultDeserializationContextDefaultDeserializationContext.createInstance(DeserializationConfig config, JsonParser p, InjectableValues values) Method called to create actual usable per-deserialization context instance.DefaultDeserializationContext.Impl.createInstance(DeserializationConfig config, JsonParser p, InjectableValues values) AbstractDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) BeanDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) Main deserialization method for bean-based objects (POJOs).BeanDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Object bean) Secondary deserialization method, called in cases where POJO instance is created as part of deserialization, potentially after collecting some or all of the properties to set.BuilderBasedDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) Main deserialization method for bean-based objects (POJOs).BuilderBasedDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Object value) Secondary deserialization method, called in cases where POJO instance is created as part of deserialization, potentially after collecting some or all of the properties to set.SettableAnyProperty.deserialize(JsonParser p, DeserializationContext ctxt) SettableAnyProperty.JsonNodeFieldAnyProperty.deserialize(JsonParser p, DeserializationContext ctxt) SettableAnyProperty.JsonNodeParameterAnyProperty.deserialize(JsonParser p, DeserializationContext ctxt) final ObjectSettableBeanProperty.deserialize(JsonParser p, DeserializationContext ctxt) This method is needed by some specialized bean deserializers, and also called by someSettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object)implementations.voidCreatorProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) voidSettableAnyProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName) Method called to deserialize appropriate value, given parser (and context), and set it using appropriate method (a setter method).voidSettableAnyProperty.JsonNodeFieldAnyProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName) voidSettableBeanProperty.Delegating.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) abstract voidSettableBeanProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism.BeanDeserializerBase.deserializeFromArray(JsonParser p, DeserializationContext ctxt) Deprecated.Since 2.11 Should not be used: was never meant to be called by code other than sub-classes (implementations), and implementations details differBeanDeserializerBase.deserializeFromBoolean(JsonParser p, DeserializationContext ctxt) Method called to deserialize POJO value from a JSON boolean value (true, false)BeanDeserializerBase.deserializeFromDouble(JsonParser p, DeserializationContext ctxt) Method called to deserialize POJO value from a JSON floating-point number.BeanDeserializerBase.deserializeFromEmbedded(JsonParser p, DeserializationContext ctxt) protected ObjectBeanDeserializer.deserializeFromNull(JsonParser p, DeserializationContext ctxt) Helper method called for rare case of pointing toJsonToken.VALUE_NULLtoken.BeanDeserializerBase.deserializeFromNumber(JsonParser p, DeserializationContext ctxt) BeanDeserializer.deserializeFromObject(JsonParser p, DeserializationContext ctxt) General version used when handling needs more advanced features.abstract ObjectBeanDeserializerBase.deserializeFromObject(JsonParser p, DeserializationContext ctxt) General version used when handling needs more advanced features.BuilderBasedDeserializer.deserializeFromObject(JsonParser p, DeserializationContext ctxt) General version used when handling needs more advanced features.protected ObjectBeanDeserializerBase.deserializeFromObjectId(JsonParser p, DeserializationContext ctxt) Method called in cases where it looks like we got an Object Id to parse and use as a reference.protected ObjectBeanDeserializerBase.deserializeFromObjectUsingNonDefault(JsonParser p, DeserializationContext ctxt) BeanDeserializerBase.deserializeFromString(JsonParser p, DeserializationContext ctxt) CreatorProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) SettableBeanProperty.Delegating.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) abstract ObjectSettableBeanProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) Alternative toSettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object)that returns either return value of setter method called (if one is), or null to indicate that no return value is available.protected ObjectBeanDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser p, DeserializationContext ctxt) protected ObjectBuilderBasedDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser p, DeserializationContext ctxt) protected ObjectBeanDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser p, DeserializationContext ctxt) protected ObjectBuilderBasedDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser p, DeserializationContext ctxt) final ObjectSettableBeanProperty.deserializeWith(JsonParser p, DeserializationContext ctxt, Object toUpdate) protected ObjectBeanDeserializer.deserializeWithExternalTypeId(JsonParser p, DeserializationContext ctxt) protected ObjectBeanDeserializer.deserializeWithExternalTypeId(JsonParser p, DeserializationContext ctxt, Object bean) protected ObjectBuilderBasedDeserializer.deserializeWithExternalTypeId(JsonParser p, DeserializationContext ctxt) protected ObjectBuilderBasedDeserializer.deserializeWithExternalTypeId(JsonParser p, DeserializationContext ctxt, Object bean) protected ObjectBeanDeserializerBase.deserializeWithObjectId(JsonParser p, DeserializationContext ctxt) Alternative deserialization method used when we expect to see Object Id; if so, we will need to ensure that the Id is seen before anything else, to ensure that it is available for solving references, even if JSON itself is not ordered that way.AbstractDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) BeanDeserializerBase.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) protected ObjectBeanDeserializer.deserializeWithUnwrapped(JsonParser p, DeserializationContext ctxt) Method called when there are declared "unwrapped" properties which need special handlingprotected ObjectBeanDeserializer.deserializeWithUnwrapped(JsonParser p, DeserializationContext ctxt, Object bean) protected ObjectBuilderBasedDeserializer.deserializeWithUnwrapped(JsonParser p, DeserializationContext ctxt) Method called when there are declared "unwrapped" properties which need special handlingprotected ObjectBuilderBasedDeserializer.deserializeWithUnwrapped(JsonParser p, DeserializationContext ctxt, Object builder, TokenBuffer tokens) protected final ObjectBeanDeserializer.deserializeWithView(JsonParser p, DeserializationContext ctxt, Object bean, Class<?> activeView) protected final ObjectBuilderBasedDeserializer.deserializeWithView(JsonParser p, DeserializationContext ctxt, Object bean, Class<?> activeView) protected voidBeanDeserializerBase.handleIgnoredProperty(JsonParser p, DeserializationContext ctxt, Object beanOrClass, String propName) Method called when an explicitly ignored property (one specified with a name to match, either by property annotation or class annotation) is encountered.DeserializationProblemHandler.handleMissingInstantiator(DeserializationContext ctxt, Class<?> instClass, JsonParser p, String msg) Deprecated.Since 2.9: use variant that takesValueInstantiatorDeserializationProblemHandler.handleMissingInstantiator(DeserializationContext ctxt, Class<?> instClass, ValueInstantiator valueInsta, JsonParser p, String msg) Method called when instance creation for a type fails due to lack of an instantiator.protected ObjectBeanDeserializerBase.handlePolymorphic(JsonParser p, DeserializationContext ctxt, StreamReadConstraints streamReadConstraints, Object bean, TokenBuffer unknownTokens) Method called in cases where we may have polymorphic deserialization case: that is, type of Creator-constructed bean is not the type of deserializer itself.protected ObjectBeanDeserializerBase.handlePolymorphic(JsonParser p, DeserializationContext ctxt, Object bean, TokenBuffer unknownTokens) DeserializationProblemHandler.handleUnexpectedToken(DeserializationContext ctxt, JavaType targetType, JsonToken t, JsonParser p, String failureMsg) Method that deserializers should call if the first token of the value to deserialize is of unexpected type (that is, type of token that deserializer cannot handle).DeserializationProblemHandler.handleUnexpectedToken(DeserializationContext ctxt, Class<?> targetType, JsonToken t, JsonParser p, String failureMsg) Deprecated.Since 2.10protected voidBeanDeserializerBase.handleUnknownProperty(JsonParser p, DeserializationContext ctxt, Object beanOrClass, String propName) Method called when a JSON property is encountered that has not matching setter, any-setter or field, and thus cannot be assigned.booleanDeserializationProblemHandler.handleUnknownProperty(DeserializationContext ctxt, JsonParser p, JsonDeserializer<?> deserializer, Object beanOrClass, String propertyName) Method called when a JSON Object property with an unrecognized name is encountered.protected voidBeanDeserializerBase.handleUnknownVanilla(JsonParser p, DeserializationContext ctxt, Object beanOrBuilder, String propName) Helper method called for an unknown property, when using "vanilla" processing.DeserializationProblemHandler.handleWeirdNativeValue(DeserializationContext ctxt, JavaType targetType, Object valueToConvert, JsonParser p) Method called when an embedded (native) value (JsonToken.VALUE_EMBEDDED_OBJECT) cannot be converted directly into expected value type (usually POJO).DefaultDeserializationContext.readRootValue(JsonParser p, JavaType valueType, JsonDeserializer<Object> deser, Object valueToUpdate) Constructors in com.fasterxml.jackson.databind.deser with parameters of type JsonParserModifierConstructorDescriptionprotectedDefaultDeserializationContext(DefaultDeserializationContext src, DeserializationConfig config, JsonParser p, InjectableValues values) UnresolvedForwardReference(JsonParser p, String msg, JsonLocation loc, ReadableObjectId roid) -
Uses of JsonParser in com.fasterxml.jackson.databind.deser.impl
Fields in com.fasterxml.jackson.databind.deser.impl declared as JsonParserMethods in com.fasterxml.jackson.databind.deser.impl with parameters of type JsonParserModifier and TypeMethodDescriptionprotected final ObjectExternalTypeHandler._deserialize(JsonParser p, DeserializationContext ctxt, int index, String typeId) protected final voidExternalTypeHandler._deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object bean, int index, String typeId) protected ObjectBeanAsArrayBuilderDeserializer._deserializeFromNonArray(JsonParser p, DeserializationContext ctxt) protected ObjectBeanAsArrayDeserializer._deserializeFromNonArray(JsonParser p, DeserializationContext ctxt) protected final ObjectExternalTypeHandler._deserializeMissingToken(JsonParser p, DeserializationContext ctxt, int index, String typeId) protected ObjectBeanAsArrayBuilderDeserializer._deserializeNonVanilla(JsonParser p, DeserializationContext ctxt) Alternate deserialization method that has to check many more configuration aspects than the "vanilla" processing.protected ObjectBeanAsArrayDeserializer._deserializeNonVanilla(JsonParser p, DeserializationContext ctxt) Alternate deserialization method that has to check many more configuration aspects than the "vanilla" processing.protected final ObjectBeanAsArrayBuilderDeserializer._deserializeUsingPropertyBased(JsonParser p, DeserializationContext ctxt) Method called to deserialize bean using "property-based creator": this means that a non-default constructor or factory method is called, and then possibly other setters.protected final ObjectBeanAsArrayDeserializer._deserializeUsingPropertyBased(JsonParser p, DeserializationContext ctxt) Method called to deserialize bean using "property-based creator": this means that a non-default constructor or factory method is called, and then possibly other setters.ExternalTypeHandler.complete(JsonParser p, DeserializationContext ctxt, PropertyValueBuffer buffer, PropertyBasedCreator creator) Variant called when creation of the POJO involves buffering of creator properties as well as property-based creator.ExternalTypeHandler.complete(JsonParser p, DeserializationContext ctxt, Object bean) Method called after JSON Object closes, and has to ensure that all external type ids have been handled.BeanAsArrayBuilderDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) BeanAsArrayBuilderDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Object value) BeanAsArrayDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) BeanAsArrayDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Object bean) ErrorThrowingDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) FailingDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) TypeWrappedDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) TypeWrappedDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue) UnsupportedTypeDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) voidFieldProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) voidInnerClassProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object bean) voidManagedReferenceProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) voidMergingSettableBeanProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) voidMethodProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) voidObjectIdReferenceProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) voidObjectIdValueProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) final voidSetterlessProperty.deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) BeanAsArrayBuilderDeserializer.deserializeFromObject(JsonParser p, DeserializationContext ctxt) BeanAsArrayDeserializer.deserializeFromObject(JsonParser p, DeserializationContext ctxt) FieldProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) InnerClassProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) ManagedReferenceProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) MergingSettableBeanProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) MethodProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) ObjectIdReferenceProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) ObjectIdValueProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) SetterlessProperty.deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) TypeWrappedDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) booleanBeanPropertyMap.findDeserializeAndSet(JsonParser p, DeserializationContext ctxt, Object bean, String key) Convenience method that tries to find property with given name, and if it is found, callSettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object)on it, and return true; or, if not found, return false.booleanExternalTypeHandler.handlePropertyValue(JsonParser p, DeserializationContext ctxt, String propName, Object bean) Method called to ask handler to handle value of given property, at point where parser points to the first token of the value.booleanExternalTypeHandler.handleTypePropertyValue(JsonParser p, DeserializationContext ctxt, String propName, Object bean) Method called to see if given property/value pair is an external type id; and if so handle it.booleanObjectIdReader.isValidReferencePropertyName(String name, JsonParser parser) Convenience method, equivalent to calling:readerInstance.generator.isValidReferencePropertyName(name, parser);and used to determine whether Object Ids handled by the underlying generator may be in form of (JSON) Objects.UnwrappedPropertyHandler.processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered) ObjectIdReader.readObjectReference(JsonParser jp, DeserializationContext ctxt) Method called to read value that is expected to be an Object Reference (that is, value of an Object Id used to refer to another object).PropertyBasedCreator.startBuilding(JsonParser p, DeserializationContext ctxt, ObjectIdReader oir) Method called when starting to build a bean instance.PropertyBasedCreator.startBuildingWithAnySetter(JsonParser p, DeserializationContext ctxt, ObjectIdReader oir, SettableAnyProperty anySetter) Method called when starting to build a bean instance.Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type JsonParserModifierConstructorDescriptionPropertyValueBuffer(JsonParser p, DeserializationContext ctxt, int paramCount, ObjectIdReader oir) Deprecated.PropertyValueBuffer(JsonParser p, DeserializationContext ctxt, int paramCount, ObjectIdReader oir, SettableAnyProperty anyParamSetter) -
Uses of JsonParser in com.fasterxml.jackson.databind.deser.std
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type JsonParserModifier and TypeMethodDescriptionprotected CoercionActionStdDeserializer._checkBooleanToStringCoercion(JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkFloatToIntCoercion(JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkFloatToStringCoercion(JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkIntToFloatCoercion(JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkIntToStringCoercion(JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkToStringCoercion(JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType, Object inputValue, CoercionInputShape inputShape) protected BooleanStdDeserializer._coerceBooleanFromInt(JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected ObjectStdDeserializer._coerceIntegral(JsonParser p, DeserializationContext ctxt) Helper method called in case where an integral number is encountered, but config settings suggest that a coercion may be needed to "upgrade"Numberinto "bigger" type likeLongorBigIntegerprotected final EnumSet<?>EnumSetDeserializer._deserialize(JsonParser p, DeserializationContext ctxt, EnumSet result) protected final String[]StringArrayDeserializer._deserializeCustom(JsonParser p, DeserializationContext ctxt, String[] old) Offlined version used when we do not use the default deserialization method.protected ObjectUntypedObjectDeserializer._deserializeFP(JsonParser p, DeserializationContext ctxt) protected ObjectUntypedObjectDeserializer.Vanilla._deserializeFP(JsonParser p, DeserializationContext ctxt) Deprecated.protected Collection<Object>ArrayBlockingQueueDeserializer._deserializeFromArray(JsonParser p, DeserializationContext ctxt, Collection<Object> result0) protected Collection<Object>CollectionDeserializer._deserializeFromArray(JsonParser p, DeserializationContext ctxt, Collection<Object> result) protected TStdDeserializer._deserializeFromArray(JsonParser p, DeserializationContext ctxt) Helper method that allows easy support for array-related coercion features: checks for either empty array, or single-value array-wrapped value (if coercion enabled byCoercionConfigs(since 2.12), and either reports an exception (if no coercion allowed), or returns appropriate result value using coercion mechanism indicated.protected TStdDeserializer._deserializeFromEmpty(JsonParser p, DeserializationContext ctxt) Deprecated.Since 2.12protected ObjectStdDeserializer._deserializeFromEmptyString(JsonParser p, DeserializationContext ctxt, CoercionAction act, Class<?> rawTargetType, String desc) protected ObjectFromStringDeserializer._deserializeFromOther(JsonParser p, DeserializationContext ctxt, JsonToken t) protected Collection<Object>CollectionDeserializer._deserializeFromString(JsonParser p, DeserializationContext ctxt, String value) Logic extracted to deal with incoming String value.protected TStdDeserializer._deserializeFromString(JsonParser p, DeserializationContext ctxt) Helper method to call in case deserializer does not support native automatic use of incoming String values, but there may be standard coercions to consider.protected ObjectEnumDeserializer._deserializeOther(JsonParser p, DeserializationContext ctxt) MapDeserializer._deserializeUsingCreator(JsonParser p, DeserializationContext ctxt) EnumMap<?,?> EnumMapDeserializer._deserializeUsingProperties(JsonParser p, DeserializationContext ctxt) protected Collection<Object>CollectionDeserializer._deserializeWithObjectId(JsonParser p, DeserializationContext ctxt, Collection<Object> result) protected TStdDeserializer._deserializeWrappedValue(JsonParser p, DeserializationContext ctxt) Helper called to supportDeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS: default implementation simply callsJsonDeserializer.deserialize(JsonParser, DeserializationContext), but handling may be overridden.protected voidStdDeserializer._failDoubleToIntCoercion(JsonParser p, DeserializationContext ctxt, String type) Deprecated.protected ObjectEnumDeserializer._fromInteger(JsonParser p, DeserializationContext ctxt, int index) protected ObjectEnumDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String text) protected ObjectStdDelegatingDeserializer._handleIncompatibleUpdateValue(JsonParser p, DeserializationContext ctxt, Object intoValue) Overridable handler method called whenStdDelegatingDeserializer.deserialize(JsonParser, DeserializationContext, Object)has been called with a value that is not compatible with delegate value.protected ObjectUntypedObjectDeserializer._mapObjectWithDups(JsonParser p, DeserializationContext ctxt, Map<String, Object> result, String key, Object oldValue, Object newValue, String nextKey) protected ObjectUntypedObjectDeserializer.Vanilla._mapObjectWithDups(JsonParser p, DeserializationContext ctxt, Map<String, Object> result, String initialKey, Object oldValue, Object newValue, String nextKey) Deprecated.protected final BooleanStdDeserializer._parseBoolean(JsonParser p, DeserializationContext ctxt, Class<?> targetType) Helper method called for cases where non-primitive, boolean-based value is to be deserialized: result of this method will beBoolean, although actual target type may be something different.protected booleanStdDeserializer._parseBooleanFromInt(JsonParser p, DeserializationContext ctxt) Deprecated.protected final booleanStdDeserializer._parseBooleanPrimitive(JsonParser p, DeserializationContext ctxt) protected final booleanStdDeserializer._parseBooleanPrimitive(DeserializationContext ctxt, JsonParser p, Class<?> targetType) Deprecated.protected ByteNumberDeserializers.ByteDeserializer._parseByte(JsonParser p, DeserializationContext ctxt) protected final byteStdDeserializer._parseBytePrimitive(JsonParser p, DeserializationContext ctxt) protected DateDateDeserializers.DateBasedDeserializer._parseDate(JsonParser p, DeserializationContext ctxt) protected DateStdDeserializer._parseDate(JsonParser p, DeserializationContext ctxt) protected DateStdDeserializer._parseDateFromArray(JsonParser p, DeserializationContext ctxt) protected final DoubleNumberDeserializers.DoubleDeserializer._parseDouble(JsonParser p, DeserializationContext ctxt) protected final doubleStdDeserializer._parseDoublePrimitive(JsonParser p, DeserializationContext ctxt) protected final doubleStdDeserializer._parseDoublePrimitive(JsonParser p, DeserializationContext ctxt, String text) protected final FloatNumberDeserializers.FloatDeserializer._parseFloat(JsonParser p, DeserializationContext ctxt) protected final floatStdDeserializer._parseFloatPrimitive(JsonParser p, DeserializationContext ctxt) protected final floatStdDeserializer._parseFloatPrimitive(JsonParser p, DeserializationContext ctxt, String text) protected final IntegerStdDeserializer._parseInteger(JsonParser p, DeserializationContext ctxt, Class<?> targetType) protected final intStdDeserializer._parseIntPrimitive(JsonParser p, DeserializationContext ctxt) protected final LongStdDeserializer._parseLong(JsonParser p, DeserializationContext ctxt, Class<?> targetType) protected final longStdDeserializer._parseLongPrimitive(JsonParser p, DeserializationContext ctxt) protected ShortNumberDeserializers.ShortDeserializer._parseShort(JsonParser p, DeserializationContext ctxt) protected final shortStdDeserializer._parseShortPrimitive(JsonParser p, DeserializationContext ctxt) protected final StringStdDeserializer._parseString(JsonParser p, DeserializationContext ctxt) Deprecated.Since 2.14 (use the non-deprecated overload)protected final StringStdDeserializer._parseString(JsonParser p, DeserializationContext ctxt, NullValueProvider nullProvider) Helper method used for deserializing String value, if possible, doing necessary conversion or throwing exception as necessary.MapDeserializer._readAndBind(JsonParser p, DeserializationContext ctxt, Map<Object, Object> result) MapDeserializer._readAndBindStringKeyMap(JsonParser p, DeserializationContext ctxt, Map<Object, Object> result) Optimized method used when keys can be deserialized as plain oldStrings, and there is no custom deserialized specified.protected final voidMapDeserializer._readAndUpdate(JsonParser p, DeserializationContext ctxt, Map<Object, Object> result) protected final voidMapDeserializer._readAndUpdateStringKeyMap(JsonParser p, DeserializationContext ctxt, Map<Object, Object> result) Optimized method used when keys can be deserialized as plain oldStrings, and there is no custom deserializer specified.protected voidCollectionDeserializer._tryToAddNull(JsonParser p, DeserializationContext ctxt, Collection<?> set) java.util.TreeSet(and possibly otherCollectiontypes) does not allow addition ofnullvalues, so isolate handling here.protected voidStdDeserializer._verifyEndArrayForSingle(JsonParser p, DeserializationContext ctxt) protected voidStdDeserializer._verifyNumberForScalarCoercion(DeserializationContext ctxt, JsonParser p) Deprecated.AtomicBooleanDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) AtomicIntegerDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) AtomicLongDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) ByteBufferDeserializer.deserialize(JsonParser parser, DeserializationContext cx) ByteBufferDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt, ByteBuffer intoValue) CollectionDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) CollectionDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Collection<Object> result) DateDeserializers.CalendarDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) DateDeserializers.DateDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) DateDeserializers.SqlDateDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) DateDeserializers.TimestampDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) DelegatingDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) DelegatingDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue) EnumDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) EnumMap<?,?> EnumMapDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) EnumMap<?,?> EnumMapDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, EnumMap result) EnumSet<?>EnumSetDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) EnumSet<?>EnumSetDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, EnumSet<?> result) FromStringDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) JsonNodeDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) Implementation that will produce types of any JSON nodes; not just one deserializer is registered to handle (in case of more specialized handler).MapDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) MapDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Map<Object, Object> result) MapEntryDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) MapEntryDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Map.Entry<Object, Object> result) NullifyingDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.BigDecimalDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.BigIntegerDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.BooleanDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.ByteDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.CharacterDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.DoubleDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.FloatDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.IntegerDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.LongDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.NumberDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) NumberDeserializers.ShortDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) ObjectArrayDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) ObjectArrayDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue0) PrimitiveArrayDeserializers.deserialize(JsonParser p, DeserializationContext ctxt, T existing) ReferenceTypeDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) ReferenceTypeDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, T reference) StackTraceElementDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) StdDelegatingDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) StdDelegatingDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue) StdNodeBasedDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdNodeBasedDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt, T newValue) StdScalarDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, T intoValue) Overridden to simply calldeserialize()method that does not take value to update, since scalar values are usually non-mergeable.String[]StringArrayDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) String[]StringArrayDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, String[] intoValue) StringCollectionDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) StringCollectionDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Collection<String> result) StringDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) TokenBufferDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) UntypedObjectDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) UntypedObjectDeserializer.deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue) UntypedObjectDeserializer.Vanilla.deserialize(JsonParser p, DeserializationContext ctxt) Deprecated.UntypedObjectDeserializer.Vanilla.deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue) Deprecated.protected Byte[]ObjectArrayDeserializer.deserializeFromBase64(JsonParser p, DeserializationContext ctxt) ThrowableDeserializer.deserializeFromObject(JsonParser p, DeserializationContext ctxt) ArrayBlockingQueueDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) CollectionDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) DelegatingDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) EnumMapDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) EnumSetDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) MapDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) MapEntryDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) NullifyingDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) NumberDeserializers.BooleanDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) NumberDeserializers.DoubleDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) NumberDeserializers.IntegerDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) NumberDeserializers.NumberDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) As mentioned in class Javadoc, there is additional complexity in handling potentially mixed type information here.ObjectArrayDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) PrimitiveArrayDeserializers.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) ReferenceTypeDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StdDelegatingDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StdDelegatingDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer, T intoValue) StdDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) Base implementation that does not assume specific type inclusion mechanism.StdNodeBasedDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer td) StdScalarDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StringArrayDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StringCollectionDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StringDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) UntypedObjectDeserializer.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) UntypedObjectDeserializer.Vanilla.deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer) Deprecated.protected voidStdDeserializer.handleMissingEndArrayForSingle(JsonParser p, DeserializationContext ctxt) protected ObjectStdDeserializer.handleNestedArrayForSingle(JsonParser p, DeserializationContext ctxt) Helper method called when detecting a deep(er) nesting of Arrays when trying to unwrap value forDeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS.protected final Collection<Object>CollectionDeserializer.handleNonArray(JsonParser p, DeserializationContext ctxt, Collection<Object> result) Helper method called when current token is no START_ARRAY.protected EnumSet<?>EnumSetDeserializer.handleNonArray(JsonParser p, DeserializationContext ctxt, EnumSet result) protected ObjectObjectArrayDeserializer.handleNonArray(JsonParser p, DeserializationContext ctxt) protected TPrimitiveArrayDeserializers.handleNonArray(JsonParser p, DeserializationContext ctxt) protected abstract TPrimitiveArrayDeserializers.handleSingleElementUnwrapped(JsonParser p, DeserializationContext ctxt) protected voidStdDeserializer.handleUnknownProperty(JsonParser p, DeserializationContext ctxt, Object instanceOrClass, String propName) Method called to deal with a property that did not map to a known Bean property.protected ObjectUntypedObjectDeserializer.mapArray(JsonParser p, DeserializationContext ctxt) Method called to map a JSON Array into a Java value.protected ObjectUntypedObjectDeserializer.mapArray(JsonParser p, DeserializationContext ctxt, Collection<Object> result) protected ObjectUntypedObjectDeserializer.Vanilla.mapArray(JsonParser p, DeserializationContext ctxt) Deprecated.protected Object[]UntypedObjectDeserializer.mapArrayToArray(JsonParser p, DeserializationContext ctxt) Method called to map a JSON Array into a Java Object array (Object[]).protected Object[]UntypedObjectDeserializer.Vanilla.mapArrayToArray(JsonParser p, DeserializationContext ctxt) Deprecated.protected ObjectUntypedObjectDeserializer.mapObject(JsonParser p, DeserializationContext ctxt) Method called to map a JSON Object into a Java value.protected ObjectUntypedObjectDeserializer.mapObject(JsonParser p, DeserializationContext ctxt, Map<Object, Object> m) protected ObjectUntypedObjectDeserializer.Vanilla.mapObject(JsonParser p, DeserializationContext ctxt) Deprecated. -
Uses of JsonParser in com.fasterxml.jackson.databind.exc
Methods in com.fasterxml.jackson.databind.exc with parameters of type JsonParserModifier and TypeMethodDescriptionstatic IgnoredPropertyExceptionIgnoredPropertyException.from(JsonParser p, Object fromObjectOrClass, String propertyName, Collection<Object> propertyIds) Factory method used for constructing instances of this exception type.static InvalidDefinitionExceptionInvalidDefinitionException.from(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) static InvalidDefinitionExceptionInvalidDefinitionException.from(JsonParser p, String msg, JavaType type) static InvalidFormatExceptionInvalidFormatException.from(JsonParser p, String msg, Object value, Class<?> targetType) static InvalidTypeIdExceptionInvalidTypeIdException.from(JsonParser p, String msg, JavaType baseType, String typeId) static MismatchedInputExceptionMismatchedInputException.from(JsonParser p, JavaType targetType, String msg) static MismatchedInputExceptionMismatchedInputException.from(JsonParser p, Class<?> targetType, String msg) static MismatchedInputExceptionMismatchedInputException.from(JsonParser p, String msg) Deprecated.UnrecognizedPropertyException.from(JsonParser p, Object fromObjectOrClass, String propertyName, Collection<Object> propertyIds) Factory method used for constructing instances of this exception type.static ValueInstantiationExceptionValueInstantiationException.from(JsonParser p, String msg, JavaType type) static ValueInstantiationExceptionValueInstantiationException.from(JsonParser p, String msg, JavaType type, Throwable cause) Constructors in com.fasterxml.jackson.databind.exc with parameters of type JsonParserModifierConstructorDescriptionIgnoredPropertyException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) protectedInvalidDefinitionException(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) protectedInvalidDefinitionException(JsonParser p, String msg, JavaType type) InvalidFormatException(JsonParser p, String msg, Object value, Class<?> targetType) InvalidTypeIdException(JsonParser p, String msg, JavaType baseType, String typeId) protectedMismatchedInputException(JsonParser p, String msg) protectedMismatchedInputException(JsonParser p, String msg, JsonLocation loc) protectedMismatchedInputException(JsonParser p, String msg, JavaType targetType) protectedMismatchedInputException(JsonParser p, String msg, Class<?> targetType) protectedPropertyBindingException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) UnrecognizedPropertyException(JsonParser p, String msg, JsonLocation loc, Class<?> referringClass, String propName, Collection<Object> propertyIds) protectedValueInstantiationException(JsonParser p, String msg, JavaType type) protectedValueInstantiationException(JsonParser p, String msg, JavaType type, Throwable cause) -
Uses of JsonParser in com.fasterxml.jackson.databind.ext
Methods in com.fasterxml.jackson.databind.ext with parameters of type JsonParserModifier and TypeMethodDescriptionCoreXMLDeserializers.Std.deserialize(JsonParser p, DeserializationContext ctxt) NioPathDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) -
Uses of JsonParser in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype with parameters of type JsonParserModifier and TypeMethodDescriptionstatic ObjectTypeDeserializer.deserializeIfNatural(JsonParser p, DeserializationContext ctxt, JavaType baseType) Helper method used to check if given parser might be pointing to a "natural" value, and one that would be acceptable as the result value (compatible with declared base type)static ObjectTypeDeserializer.deserializeIfNatural(JsonParser p, DeserializationContext ctxt, Class<?> base) abstract ObjectTypeDeserializer.deserializeTypedFromAny(JsonParser p, DeserializationContext ctxt) Method called to let this type deserializer handle deserialization of "typed" object, when value itself may have been serialized using any kind of JSON value (Array, Object, scalar).abstract ObjectTypeDeserializer.deserializeTypedFromArray(JsonParser p, DeserializationContext ctxt) Method called to let this type deserializer handle deserialization of "typed" object, when value itself is serialized as JSON Array (regardless of Java type).abstract ObjectTypeDeserializer.deserializeTypedFromObject(JsonParser p, DeserializationContext ctxt) Method called to let this type deserializer handle deserialization of "typed" object, when value itself is serialized as JSON Object (regardless of Java type).abstract ObjectTypeDeserializer.deserializeTypedFromScalar(JsonParser p, DeserializationContext ctxt) Method called to let this type deserializer handle deserialization of "typed" object, when value itself is serialized as a scalar JSON value (something other than Array or Object), regardless of Java type. -
Uses of JsonParser in com.fasterxml.jackson.databind.jsontype.impl
Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type JsonParserModifier and TypeMethodDescriptionprotected ObjectAsArrayTypeDeserializer._deserialize(JsonParser p, DeserializationContext ctxt) Method that handles type information wrapper, locates actual subtype deserializer to use, and calls it to do actual deserialization.protected ObjectAsWrapperTypeDeserializer._deserialize(JsonParser p, DeserializationContext ctxt) Method that handles type information wrapper, locates actual subtype deserializer to use, and calls it to do actual deserialization.protected ObjectAsPropertyTypeDeserializer._deserializeTypedForId(JsonParser p, DeserializationContext ctxt, TokenBuffer tb, String typeId) protected ObjectAsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(JsonParser p, DeserializationContext ctxt, TokenBuffer tb) Deprecated.protected ObjectAsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(JsonParser p, DeserializationContext ctxt, TokenBuffer tb, String priorFailureMsg) protected ObjectTypeDeserializerBase._deserializeWithNativeTypeId(JsonParser jp, DeserializationContext ctxt) Deprecated.protected ObjectTypeDeserializerBase._deserializeWithNativeTypeId(JsonParser p, DeserializationContext ctxt, Object typeId) Helper method called whenJsonParserindicates that it can use so-called native type ids, and such type id has been found.protected StringAsArrayTypeDeserializer._locateTypeId(JsonParser p, DeserializationContext ctxt) AsArrayTypeDeserializer.deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt) AsPropertyTypeDeserializer.deserializeTypedFromAny(JsonParser p, DeserializationContext ctxt) AsWrapperTypeDeserializer.deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt) AsArrayTypeDeserializer.deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt) Method called when actual object is serialized as JSON Array.AsWrapperTypeDeserializer.deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt) AsArrayTypeDeserializer.deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt) Method called when actual object is serialized as JSON ObjectAsDeductionTypeDeserializer.deserializeTypedFromObject(JsonParser p, DeserializationContext ctxt) AsPropertyTypeDeserializer.deserializeTypedFromObject(JsonParser p, DeserializationContext ctxt) This is the trickiest thing to handle, since property we are looking for may be anywhere...AsWrapperTypeDeserializer.deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt) Deserializing type id enclosed using WRAPPER_OBJECT style is straightforwardAsArrayTypeDeserializer.deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt) AsWrapperTypeDeserializer.deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt) -
Uses of JsonParser in com.fasterxml.jackson.databind.node
Subclasses of JsonParser in com.fasterxml.jackson.databind.nodeModifier and TypeClassDescriptionclassFacade overJsonNodethat implementsJsonParserto allow accessing contents of JSON tree in alternate form (stream of tokens).Methods in com.fasterxml.jackson.databind.node that return JsonParserModifier and TypeMethodDescriptionTreeTraversingParser.skipChildren()BaseJsonNode.traverse()BaseJsonNode.traverse(ObjectCodec codec) -
Uses of JsonParser in com.fasterxml.jackson.databind.util
Subclasses of JsonParser in com.fasterxml.jackson.databind.utilMethods in com.fasterxml.jackson.databind.util that return JsonParserModifier and TypeMethodDescriptionTokenBuffer.asParser()Method used to create aJsonParserthat can read contents stored in this buffer.TokenBuffer.asParser(JsonParser src) TokenBuffer.asParser(ObjectCodec codec) Method used to create aJsonParserthat can read contents stored in this buffer.TokenBuffer.asParser(StreamReadConstraints streamReadConstraints) TokenBuffer.asParserOnFirstToken()Same as:Methods in com.fasterxml.jackson.databind.util with parameters of type JsonParserModifier and TypeMethodDescriptionprotected voidTokenBuffer._copyBufferContents(JsonParser p) static TokenBufferTokenBuffer.asCopyOfValue(JsonParser p) Deprecated.Since 2.13: useDeserializationContext.bufferAsCopyOfValue(com.fasterxml.jackson.core.JsonParser)instead.TokenBuffer.asParser(JsonParser src) voidTokenBuffer.copyCurrentEvent(JsonParser p) voidTokenBuffer.copyCurrentStructure(JsonParser p) TokenBuffer.deserialize(JsonParser p, DeserializationContext ctxt) Helper method used by standard deserializer.Constructors in com.fasterxml.jackson.databind.util with parameters of type JsonParser -
Uses of JsonParser in com.fasterxml.jackson.datatype.jdk8
Methods in com.fasterxml.jackson.datatype.jdk8 with parameters of type JsonParserModifier and TypeMethodDescriptionOptionalIntDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) OptionalLongDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) -
Uses of JsonParser in com.fasterxml.jackson.datatype.jsr310.deser
Methods in com.fasterxml.jackson.datatype.jsr310.deser with parameters of type JsonParserModifier and TypeMethodDescriptionprotected DurationDurationDeserializer._fromString(JsonParser parser, DeserializationContext ctxt, String value0) protected TInstantDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String string0) protected ObjectJSR310StringParsableDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String string) protected LocalDateLocalDateDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String string0) protected LocalDateTimeLocalDateTimeDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String string0) protected LocalTimeLocalTimeDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String string0) protected MonthDayMonthDayDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String string0) protected OffsetTimeOffsetTimeDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String string0) protected YearYearDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String string0) protected YearMonthYearMonthDeserializer._fromString(JsonParser p, DeserializationContext ctxt, String string0) protected voidJSR310DateTimeDeserializerBase._throwNoNumericTimestampNeedTimeZone(JsonParser p, DeserializationContext ctxt) DurationDeserializer.deserialize(JsonParser parser, DeserializationContext context) InstantDeserializer.deserialize(JsonParser parser, DeserializationContext context) JSR310StringParsableDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) LocalDateDeserializer.deserialize(JsonParser parser, DeserializationContext context) LocalDateTimeDeserializer.deserialize(JsonParser parser, DeserializationContext context) LocalTimeDeserializer.deserialize(JsonParser parser, DeserializationContext context) MonthDayDeserializer.deserialize(JsonParser parser, DeserializationContext context) OffsetTimeDeserializer.deserialize(JsonParser parser, DeserializationContext context) OneBasedMonthDeserializer.deserialize(JsonParser parser, DeserializationContext context) YearDeserializer.deserialize(JsonParser parser, DeserializationContext context) YearMonthDeserializer.deserialize(JsonParser parser, DeserializationContext context) JSR310StringParsableDeserializer.deserializeWithType(JsonParser parser, DeserializationContext context, TypeDeserializer deserializer) -
Uses of JsonParser in com.fasterxml.jackson.jakarta.rs.base
Methods in com.fasterxml.jackson.jakarta.rs.base that return JsonParserModifier and TypeMethodDescriptionprotected JsonParserProviderBase._createParser(ObjectReader reader, InputStream rawStream) Overridable helper method called to create aJsonParserfor reading contents of given rawInputStream. -
Uses of JsonParser in com.fasterxml.jackson.jakarta.rs.cfg
Methods in com.fasterxml.jackson.jakarta.rs.cfg with parameters of type JsonParserModifier and TypeMethodDescriptionabstract ObjectReaderObjectReaderModifier.modify(EndpointConfigBase<?> endpoint, MultivaluedMap<String, String> httpHeaders, JavaType resultType, ObjectReader r, JsonParser p) Method called to let modifier make any changes it wants to to objects used for reading request objects for specified endpoint. -
Uses of JsonParser in com.fasterxml.jackson.module.jakarta.xmlbind.deser
Methods in com.fasterxml.jackson.module.jakarta.xmlbind.deser with parameters of type JsonParserModifier and TypeMethodDescriptionDataHandlerDeserializer.deserialize(JsonParser p, DeserializationContext ctxt)
JsonFactory.createParser(byte[])instead.