Uses of Class
com.fasterxml.jackson.core.JsonParser
-
Packages that use JsonParser Package Description com.fasterxml.jackson.core Main public API classes of the core streaming JSON processor: most importantlyJsonFactoryused for constructing JSON parser (JsonParser) and generator (JsonGenerator) instances.com.fasterxml.jackson.core.base Base classes used by concrete Parser and Generator implementations; contain functionality that is not specific to JSON or input abstraction (byte vs char).com.fasterxml.jackson.core.exc Package for some ofJsonProcessingExceptionsubtypes contained by streaming API.com.fasterxml.jackson.core.filter com.fasterxml.jackson.core.format Package that contains interfaces needed for dynamic, pluggable format (auto)detection; as well as basic utility classes for simple format detection functionality.com.fasterxml.jackson.core.io com.fasterxml.jackson.core.json JSON-specific parser and generator implementation classes that Jackson defines and uses.com.fasterxml.jackson.core.json.async Non-blocking ("async") JSON parser implementation.com.fasterxml.jackson.core.util Utility classes used by Jackson Core functionality.com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.deser.impl Contains those implementation classes of deserialization part of data binding that are not considered part of public or semi-public interfaces.com.fasterxml.jackson.databind.deser.std Contains public standard implementations of abstraction that Jackson uses.com.fasterxml.jackson.databind.exc com.fasterxml.jackson.databind.ext 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.com.fasterxml.jackson.databind.jsontype Package that contains interfaces that define how to implement functionality for dynamically resolving type during deserialization.com.fasterxml.jackson.databind.jsontype.impl Package that contains standard implementations forTypeResolverBuilderandTypeIdResolver.com.fasterxml.jackson.databind.node Contains concreteJsonNodeimplementations Jackson uses for the Tree model.com.fasterxml.jackson.databind.util Utility classes for Mapper package.com.fasterxml.jackson.datatype.jdk8 com.fasterxml.jackson.datatype.jsr310.deser com.fasterxml.jackson.jakarta.rs.base com.fasterxml.jackson.jakarta.rs.cfg com.fasterxml.jackson.module.jakarta.xmlbind.deser -
-
Uses of JsonParser in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core that return JsonParser Modifier and Type Method Description protected 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.JsonParserJsonParser. configure(JsonParser.Feature f, boolean state)Method for enabling or disabling specified feature (checkJsonParser.Featurefor list of features)JsonParserJsonFactory. createJsonParser(byte[] data)Deprecated.Since 2.2, useJsonFactory.createParser(byte[])instead.JsonParserJsonFactory. createJsonParser(byte[] data, int offset, int len)Deprecated.Since 2.2, useJsonFactory.createParser(byte[],int,int)instead.JsonParserJsonFactory. createJsonParser(File f)Deprecated.Since 2.2, useJsonFactory.createParser(File)instead.JsonParserJsonFactory. createJsonParser(InputStream in)Deprecated.Since 2.2, useJsonFactory.createParser(InputStream)instead.JsonParserJsonFactory. createJsonParser(Reader r)Deprecated.Since 2.2, useJsonFactory.createParser(Reader)instead.JsonParserJsonFactory. createJsonParser(String content)Deprecated.Since 2.2, useJsonFactory.createParser(String)instead.JsonParserJsonFactory. createJsonParser(URL url)Deprecated.Since 2.2, useJsonFactory.createParser(URL)instead.JsonParserJsonFactory. 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).JsonParserJsonFactory. 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).JsonParserJsonFactory. createParser(byte[] data)Method for constructing parser for parsing the contents of given byte array.JsonParserJsonFactory. createParser(byte[] data, int offset, int len)Method for constructing parser for parsing the contents of given byte array.JsonParserJsonFactory. createParser(char[] content)Method for constructing parser for parsing contents of given char array.JsonParserJsonFactory. createParser(char[] content, int offset, int len)Method for constructing parser for parsing contents of given char array.JsonParserJsonFactory. createParser(DataInput in)Optional method for constructing parser for reading contents from specifiedDataInputinstance.JsonParserJsonFactory. createParser(File f)Method for constructing JSON parser instance to parse contents of specified file.JsonParserJsonFactory. createParser(InputStream in)Method for constructing JSON parser instance to parse the contents accessed via specified input stream.JsonParserJsonFactory. createParser(Reader r)Method for constructing parser for parsing the contents accessed via specified Reader.JsonParserJsonFactory. createParser(String content)Method for constructing parser for parsing contents of given String.JsonParserJsonFactory. 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)JsonParserJsonParser. disable(JsonParser.Feature f)Method for disabling specified feature (checkJsonParser.Featurefor list of features)JsonParserJsonParser. enable(JsonParser.Feature f)Method for enabling specified parser feature (checkJsonParser.Featurefor list of features)JsonParserJsonParseException. getProcessor()JsonParserJsonParser. 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.JsonParserJsonParser. overrideStdFeatures(int values, int mask)Bulk set method for (re)setting states of features specified bymask.JsonParserJsonParser. 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, iff stream points toJsonToken.START_OBJECTorJsonToken.START_ARRAY.JsonParserTreeNode. traverse()Method for constructing aJsonParserinstance for iterating over contents of the tree that this node is root of.JsonParserTreeNode. 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 JsonParser Modifier and Type Method Description protected 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.JsonParseExceptionJsonParseException. 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 JsonParser Constructor Description JsonParseException(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 root)JsonParseException(JsonParser p, String msg, Throwable root) -
Uses of JsonParser in com.fasterxml.jackson.core.base
Subclasses of JsonParser in com.fasterxml.jackson.core.base Modifier and Type Class Description classParserBaseIntermediate base class used by all JacksonJsonParserimplementations.classParserMinimalBaseIntermediate 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 JsonParser Modifier and Type Method Description JsonParserParserBase. disable(JsonParser.Feature f)JsonParserParserBase. enable(JsonParser.Feature f)JsonParserParserBase. overrideStdFeatures(int values, int mask)JsonParserParserBase. setFeatureMask(int newMask)Deprecated.JsonParserParserMinimalBase. skipChildren() -
Uses of JsonParser in com.fasterxml.jackson.core.exc
Fields in com.fasterxml.jackson.core.exc declared as JsonParser Modifier and Type Field Description protected JsonParserStreamReadException. _processorMethods in com.fasterxml.jackson.core.exc that return JsonParser Modifier and Type Method Description JsonParserStreamReadException. getProcessor()Methods in com.fasterxml.jackson.core.exc with parameters of type JsonParser Modifier and Type Method Description InputCoercionExceptionInputCoercionException. 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 JsonParser Constructor Description InputCoercionException(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.StreamReadException(JsonParser p, String msg)StreamReadException(JsonParser p, String msg, JsonLocation loc)StreamReadException(JsonParser p, String msg, JsonLocation loc, Throwable rootCause)StreamReadException(JsonParser p, String msg, Throwable root) -
Uses of JsonParser in com.fasterxml.jackson.core.filter
Subclasses of JsonParser in com.fasterxml.jackson.core.filter Modifier and Type Class Description classFilteringParserDelegateSpecializedJsonParserDelegatethat allows use ofTokenFilterfor outputting a subset of content that is visible to callerMethods in com.fasterxml.jackson.core.filter that return JsonParser Modifier and Type Method Description JsonParserFilteringParserDelegate. 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 JsonParser Modifier and Type Method Description booleanTokenFilter. 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 JsonParser Constructor Description FilteringParserDelegate(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 Modifier and Type Method Description JsonParserDataFormatMatcher. createParserWithMatch() -
Uses of JsonParser in com.fasterxml.jackson.core.io
Constructors in com.fasterxml.jackson.core.io with parameters of type JsonParser Constructor Description JsonEOFException(JsonParser p, JsonToken token, String msg) -
Uses of JsonParser in com.fasterxml.jackson.core.json
Subclasses of JsonParser in com.fasterxml.jackson.core.json Modifier and Type Class Description classReaderBasedJsonParserThis is a concrete implementation ofJsonParser, which is based on aReaderto handle low-level character conversion tasks.classUTF8DataInputJsonParserThis is a concrete implementation ofJsonParser, which is based on aDataInputas the input source.classUTF8StreamJsonParserThis is a concrete implementation ofJsonParser, which is based on aInputStreamas the input source.Methods in com.fasterxml.jackson.core.json that return JsonParser Modifier and Type Method Description JsonParserByteSourceJsonBootstrapper. constructParser(int parserFeatures, ObjectCodec codec, ByteQuadsCanonicalizer rootByteSymbols, CharsToNameCanonicalizer rootCharSymbols, int factoryFeatures)Methods in com.fasterxml.jackson.core.json with parameters of type JsonParser Modifier and Type Method Description static DupDetectorDupDetector. rootDetector(JsonParser p) -
Uses of JsonParser in com.fasterxml.jackson.core.json.async
Subclasses of JsonParser in com.fasterxml.jackson.core.json.async Modifier and Type Class Description classNonBlockingByteBufferJsonParserNon-blocking parser implementation for JSON content that takes its input viaByteBufferinstance(s) passed.classNonBlockingJsonParserNon-blocking parser implementation for JSON content that takes its input viabyte[]passed.classNonBlockingJsonParserBaseIntermediate base class for non-blocking JSON parsers.classNonBlockingUtf8JsonParserBaseNon-blocking parser base implementation for JSON content. -
Uses of JsonParser in com.fasterxml.jackson.core.util
Subclasses of JsonParser in com.fasterxml.jackson.core.util Modifier and Type Class Description classJsonParserDelegateHelper class that implements delegation pattern forJsonParser, to allow for simple overridability of basic parsing functionality.classJsonParserSequenceHelper 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 JsonParser Modifier and Type Field Description protected 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 JsonParser Modifier and Type Method Description JsonParserJsonParserDelegate. delegate()Accessor for getting the immediateJsonParserthis parser delegates calls to.JsonParserJsonParserDelegate. disable(JsonParser.Feature f)JsonParserJsonParserDelegate. enable(JsonParser.Feature f)JsonParserJsonParserDelegate. overrideFormatFeatures(int values, int mask)JsonParserJsonParserDelegate. overrideStdFeatures(int values, int mask)JsonParserJsonParserDelegate. setFeatureMask(int mask)Deprecated.JsonParserJsonParserDelegate. skipChildren()JsonParserJsonParserSequence. 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 JsonParser Modifier and Type Method Description voidJsonGeneratorDelegate. 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 JsonParser Modifier and Type Method Description protected voidJsonParserSequence. addFlattenedActiveParsers(List<JsonParser> listToAddIn)Constructors in com.fasterxml.jackson.core.util with parameters of type JsonParser Constructor Description JsonParserDelegate(JsonParser d)JsonParserSequence(boolean checkForExistingToken, JsonParser[] parsers)JsonParserSequence(JsonParser[] parsers)Deprecated. -
Uses of JsonParser in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as JsonParser Modifier and Type Field Description protected JsonParserDeserializationContext. _parserCurrently active parser used for deserialization.protected JsonParserMappingIterator. _parserUnderlying parser used for reading content to bind.Methods in com.fasterxml.jackson.databind that return JsonParser Modifier and Type Method Description protected JsonParserObjectReader. _considerFilter(JsonParser p, boolean multiValue)Consider filter when creating JsonParser.JsonParserObjectMapper. createNonBlockingByteArrayParser()Factory method for constructing properly initializedJsonParserto read content using non-blocking (asynchronous) mode.JsonParserObjectReader. createNonBlockingByteArrayParser()Factory method for constructing properly initializedJsonParserto read content using non-blocking (asynchronous) mode.JsonParserObjectMapper. createParser(byte[] content)Factory method for constructing properly initializedJsonParserto read content from specified byte array.JsonParserObjectMapper. createParser(byte[] content, int offset, int len)Factory method for constructing properly initializedJsonParserto read content from specified byte array.JsonParserObjectMapper. 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.JsonParserObjectMapper. createParser(char[] content, int offset, int len)Factory method for constructing properly initializedJsonParserto read content from specified character array.JsonParserObjectMapper. createParser(DataInput content)Factory method for constructing properly initializedJsonParserto read content using specifiedDataInput.JsonParserObjectMapper. createParser(File src)Factory method for constructing properly initializedJsonParserto read content from specifiedFile.JsonParserObjectMapper. createParser(InputStream in)Factory method for constructing properly initializedJsonParserto read content using specifiedInputStream.JsonParserObjectMapper. createParser(Reader r)Factory method for constructing properly initializedJsonParserto read content using specifiedReader.JsonParserObjectMapper. createParser(String content)Factory method for constructing properly initializedJsonParserto read content from specified String.JsonParserObjectMapper. createParser(URL src)Factory method for constructing properly initializedJsonParserto read content from specifiedFile.JsonParserObjectReader. createParser(byte[] content)Factory method for constructing properly initializedJsonParserto read content from specified byte array.JsonParserObjectReader. createParser(byte[] content, int offset, int len)Factory method for constructing properly initializedJsonParserto read content from specified byte array.JsonParserObjectReader. 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.JsonParserObjectReader. createParser(char[] content, int offset, int len)Factory method for constructing properly initializedJsonParserto read content from specified character array.JsonParserObjectReader. createParser(DataInput content)Factory method for constructing properly initializedJsonParserto read content using specifiedDataInput.JsonParserObjectReader. createParser(File src)Factory method for constructing properly initializedJsonParserto read content from specifiedFile.JsonParserObjectReader. createParser(InputStream in)Factory method for constructing properly initializedJsonParserto read content using specifiedInputStream.JsonParserObjectReader. createParser(Reader r)Factory method for constructing properly initializedJsonParserto read content using specifiedReader.JsonParserObjectReader. createParser(String content)Factory method for constructing properly initializedJsonParserto read content from specified String.JsonParserObjectReader. createParser(URL src)Factory method for constructing properly initializedJsonParserto read content from specifiedFile.JsonParserDeserializationContext. getParser()Method for accessing the currently active parser.JsonParserMappingIterator. getParser()Accessor for getting underlying parser this iterator uses.JsonParserDeserializationConfig. initialize(JsonParser p)Method called byObjectMapperandObjectReaderto modify thoseJsonParser.Featuresettings that have been configured via this config instance.JsonParserDeserializationConfig. initialize(JsonParser p, FormatSchema schema)JsonParserObjectMapper. treeAsTokens(TreeNode n)Method for constructing aJsonParserout of JSON tree representation.JsonParserObjectReader. treeAsTokens(TreeNode n)Methods in com.fasterxml.jackson.databind with parameters of type JsonParser Modifier and Type Method Description protected ObjectObjectReader. _bind(JsonParser p, Object valueToUpdate)Actual implementation of value reading+binding operation.protected ObjectObjectReader. _bindAndClose(JsonParser p0)protected JsonNodeObjectReader. _bindAndCloseAsTree(JsonParser p0)protected <T> MappingIterator<T>ObjectReader. _bindAndReadValues(JsonParser p)protected JsonNodeObjectReader. _bindAsTree(JsonParser p)protected 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 voidObjectMapper. _verifyNoTrailingTokens(JsonParser p, DeserializationContext ctxt, JavaType bindType)protected voidObjectReader. _verifyNoTrailingTokens(JsonParser p, DeserializationContext ctxt, JavaType bindType)TokenBufferDeserializationContext. bufferAsCopyOfValue(JsonParser p)Convenience method, equivalent to:TokenBufferDeserializationContext. 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.TJsonDeserializer. 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.ObjectJsonDeserializer. 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.ObjectJsonDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer, T intoValue)Method similar toJsonDeserializer.deserializeWithType(JsonParser,DeserializationContext,TypeDeserializer)but called when merging value.StringDeserializationContext. 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)ObjectDeserializationContext. 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).ObjectDeserializationContext. 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).ObjectDeserializationContext. 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).ObjectDeserializationContext. 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).ObjectDeserializationContext. 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.ObjectDeserializationContext. handleWeirdNativeValue(JavaType targetType, Object badValue, JsonParser p)JsonParserDeserializationConfig. initialize(JsonParser p)Method called byObjectMapperandObjectReaderto modify thoseJsonParser.Featuresettings that have been configured via this config instance.JsonParserDeserializationConfig. 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.JsonNodeDeserializationContext. 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).<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)voidDeserializationContext. reportWrongTokenException(JsonParser p, JsonToken expToken, String msg, Object... msgArgs)Deprecated.JsonMappingExceptionDeserializationContext. wrongTokenException(JsonParser p, JsonToken expToken, String msg)Deprecated.JsonMappingExceptionDeserializationContext. 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.JsonMappingExceptionDeserializationContext. wrongTokenException(JsonParser p, Class<?> targetType, JsonToken expToken, String extra)Constructors in com.fasterxml.jackson.databind with parameters of type JsonParser Constructor Description DeserializationContext(DeserializationContext src, DeserializationConfig config, JsonParser p, InjectableValues injectableValues)Constructor used for creating actual per-call instances.MappingIterator(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 JsonParser Modifier and Type Method Description JsonParserDataFormatReaders.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 JsonParser Modifier and Type Method Description protected 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 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 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 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 ObjectBeanDeserializer. _missingToken(JsonParser p, DeserializationContext ctxt)Deprecated.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.DefaultDeserializationContextDefaultDeserializationContext.Impl. createInstance(DeserializationConfig config, JsonParser p, InjectableValues values)ObjectAbstractDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectBeanDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)Main deserialization method for bean-based objects (POJOs).ObjectBeanDeserializer. 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.ObjectBuilderBasedDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)Main deserialization method for bean-based objects (POJOs).ObjectBuilderBasedDeserializer. 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.ObjectSettableAnyProperty. deserialize(JsonParser p, DeserializationContext ctxt)ObjectSettableAnyProperty.JsonNodeFieldAnyProperty. deserialize(JsonParser p, DeserializationContext ctxt)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.ObjectBeanDeserializerBase. 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 differObjectBeanDeserializerBase. deserializeFromBoolean(JsonParser p, DeserializationContext ctxt)Method called to deserialize POJO value from a JSON boolean value (true, false)ObjectBeanDeserializerBase. deserializeFromDouble(JsonParser p, DeserializationContext ctxt)Method called to deserialize POJO value from a JSON floating-point number.ObjectBeanDeserializerBase. deserializeFromEmbedded(JsonParser p, DeserializationContext ctxt)protected ObjectBeanDeserializer. deserializeFromNull(JsonParser p, DeserializationContext ctxt)Helper method called for rare case of pointing toJsonToken.VALUE_NULLtoken.ObjectBeanDeserializerBase. deserializeFromNumber(JsonParser p, DeserializationContext ctxt)ObjectBeanDeserializer. 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.ObjectBuilderBasedDeserializer. 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)ObjectBeanDeserializerBase. deserializeFromString(JsonParser p, DeserializationContext ctxt)ObjectCreatorProperty. deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)ObjectSettableBeanProperty.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)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.ObjectAbstractDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectBeanDeserializerBase. 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 ObjectBeanDeserializer. deserializeWithView(JsonParser p, DeserializationContext ctxt, Object bean, Class<?> activeView)protected 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.ObjectDeserializationProblemHandler. handleMissingInstantiator(DeserializationContext ctxt, Class<?> instClass, JsonParser p, String msg)Deprecated.Since 2.9: use variant that takesValueInstantiatorObjectDeserializationProblemHandler. 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)ObjectDeserializationProblemHandler. 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).ObjectDeserializationProblemHandler. 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.ObjectDeserializationProblemHandler. 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).ObjectDefaultDeserializationContext. readRootValue(JsonParser p, JavaType valueType, JsonDeserializer<Object> deser, Object valueToUpdate)Constructors in com.fasterxml.jackson.databind.deser with parameters of type JsonParser Constructor Description DefaultDeserializationContext(DefaultDeserializationContext src, DeserializationConfig config, JsonParser p, InjectableValues values)UnresolvedForwardReference(JsonParser p, String msg)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 JsonParser Modifier and Type Field Description protected JsonParserPropertyValueBuffer. _parserMethods in com.fasterxml.jackson.databind.deser.impl with parameters of type JsonParser Modifier and Type Method Description protected ObjectExternalTypeHandler. _deserialize(JsonParser p, DeserializationContext ctxt, int index, String typeId)protected 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 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 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 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.ObjectExternalTypeHandler. 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.ObjectExternalTypeHandler. 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.ObjectBeanAsArrayBuilderDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectBeanAsArrayBuilderDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Object value)ObjectBeanAsArrayDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectBeanAsArrayDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Object bean)ObjectErrorThrowingDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)ObjectFailingDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectTypeWrappedDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectTypeWrappedDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue)ObjectUnsupportedTypeDeserializer. 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)voidSetterlessProperty. deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance)ObjectBeanAsArrayBuilderDeserializer. deserializeFromObject(JsonParser p, DeserializationContext ctxt)ObjectBeanAsArrayDeserializer. deserializeFromObject(JsonParser p, DeserializationContext ctxt)ObjectFieldProperty. deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)ObjectInnerClassProperty. deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)ObjectManagedReferenceProperty. deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)ObjectMergingSettableBeanProperty. deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)ObjectMethodProperty. deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)ObjectObjectIdReferenceProperty. deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)ObjectObjectIdValueProperty. deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)ObjectSetterlessProperty. deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)ObjectTypeWrappedDeserializer. 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.ObjectUnwrappedPropertyHandler. processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered)ObjectObjectIdReader. 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).PropertyValueBufferPropertyBasedCreator. startBuilding(JsonParser p, DeserializationContext ctxt, ObjectIdReader oir)Method called when starting to build a bean instance.Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type JsonParser Constructor Description PropertyValueBuffer(JsonParser p, DeserializationContext ctxt, int paramCount, ObjectIdReader oir) -
Uses of JsonParser in com.fasterxml.jackson.databind.deser.std
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type JsonParser Modifier and Type Method Description protected 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 EnumSet<?>EnumSetDeserializer. _deserialize(JsonParser p, DeserializationContext ctxt, EnumSet result)protected String[]StringArrayDeserializer. _deserializeCustom(JsonParser p, DeserializationContext ctxt, String[] old)Offlined version used when we do not use the default deserialization method.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)Map<Object,Object>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 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 booleanStdDeserializer. _parseBooleanPrimitive(JsonParser p, DeserializationContext ctxt)protected booleanStdDeserializer. _parseBooleanPrimitive(DeserializationContext ctxt, JsonParser p, Class<?> targetType)Deprecated.protected ByteNumberDeserializers.ByteDeserializer. _parseByte(JsonParser p, DeserializationContext ctxt)protected 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 DoubleNumberDeserializers.DoubleDeserializer. _parseDouble(JsonParser p, DeserializationContext ctxt)protected doubleStdDeserializer. _parseDoublePrimitive(JsonParser p, DeserializationContext ctxt)protected doubleStdDeserializer. _parseDoublePrimitive(JsonParser p, DeserializationContext ctxt, String text)protected FloatNumberDeserializers.FloatDeserializer. _parseFloat(JsonParser p, DeserializationContext ctxt)protected floatStdDeserializer. _parseFloatPrimitive(JsonParser p, DeserializationContext ctxt)protected floatStdDeserializer. _parseFloatPrimitive(JsonParser p, DeserializationContext ctxt, String text)protected IntegerStdDeserializer. _parseInteger(JsonParser p, DeserializationContext ctxt, Class<?> targetType)protected intStdDeserializer. _parseIntPrimitive(JsonParser p, DeserializationContext ctxt)protected LongStdDeserializer. _parseLong(JsonParser p, DeserializationContext ctxt, Class<?> targetType)protected longStdDeserializer. _parseLongPrimitive(JsonParser p, DeserializationContext ctxt)protected ShortNumberDeserializers.ShortDeserializer. _parseShort(JsonParser p, DeserializationContext ctxt)protected shortStdDeserializer. _parseShortPrimitive(JsonParser p, DeserializationContext ctxt)protected StringStdDeserializer. _parseString(JsonParser p, DeserializationContext ctxt)Deprecated.Since 2.14 (use the non-deprecated overload)protected 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.protected Map<Object,Object>MapDeserializer. _readAndBind(JsonParser p, DeserializationContext ctxt, Map<Object,Object> result)protected Map<Object,Object>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 voidMapDeserializer. _readAndUpdate(JsonParser p, DeserializationContext ctxt, Map<Object,Object> result)protected 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 voidStdDeserializer. _verifyEndArrayForSingle(JsonParser p, DeserializationContext ctxt)protected voidStdDeserializer. _verifyNumberForScalarCoercion(DeserializationContext ctxt, JsonParser p)Deprecated.AtomicBooleanAtomicBooleanDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)AtomicIntegerAtomicIntegerDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)AtomicLongAtomicLongDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ByteBufferByteBufferDeserializer. deserialize(JsonParser parser, DeserializationContext cx)ByteBufferByteBufferDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt, ByteBuffer intoValue)Collection<Object>CollectionDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)Collection<Object>CollectionDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Collection<Object> result)CalendarDateDeserializers.CalendarDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)DateDateDeserializers.DateDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)DateDateDeserializers.SqlDateDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)TimestampDateDeserializers.TimestampDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectDelegatingDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectDelegatingDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue)ObjectEnumDeserializer. 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)TFromStringDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)JsonNodeJsonNodeDeserializer. 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).Map<Object,Object>MapDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)Map<Object,Object>MapDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Map<Object,Object> result)Map.Entry<Object,Object>MapEntryDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)Map.Entry<Object,Object>MapEntryDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Map.Entry<Object,Object> result)ObjectNullifyingDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)BigDecimalNumberDeserializers.BigDecimalDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)BigIntegerNumberDeserializers.BigIntegerDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)BooleanNumberDeserializers.BooleanDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ByteNumberDeserializers.ByteDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)CharacterNumberDeserializers.CharacterDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)DoubleNumberDeserializers.DoubleDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)FloatNumberDeserializers.FloatDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)IntegerNumberDeserializers.IntegerDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)LongNumberDeserializers.LongDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectNumberDeserializers.NumberDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ShortNumberDeserializers.ShortDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)Object[]ObjectArrayDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)Object[]ObjectArrayDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Object[] intoValue)TPrimitiveArrayDeserializers. deserialize(JsonParser p, DeserializationContext ctxt, T existing)TReferenceTypeDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)TReferenceTypeDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, T reference)StackTraceElementStackTraceElementDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)TStdDelegatingDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)TStdDelegatingDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue)TStdNodeBasedDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)TStdNodeBasedDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt, T newValue)TStdScalarDeserializer. 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)Collection<String>StringCollectionDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)Collection<String>StringCollectionDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Collection<String> result)StringStringDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)TokenBufferTokenBufferDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectUntypedObjectDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)ObjectUntypedObjectDeserializer. deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue)ObjectUntypedObjectDeserializer.Vanilla. deserialize(JsonParser p, DeserializationContext ctxt)Deprecated.ObjectUntypedObjectDeserializer.Vanilla. deserialize(JsonParser p, DeserializationContext ctxt, Object intoValue)Deprecated.protected Byte[]ObjectArrayDeserializer. deserializeFromBase64(JsonParser p, DeserializationContext ctxt)ObjectThrowableDeserializer. deserializeFromObject(JsonParser p, DeserializationContext ctxt)ObjectArrayBlockingQueueDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectCollectionDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectDelegatingDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectEnumMapDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectEnumSetDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectMapDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectMapEntryDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectNullifyingDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)BooleanNumberDeserializers.BooleanDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)DoubleNumberDeserializers.DoubleDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)IntegerNumberDeserializers.IntegerDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectNumberDeserializers.NumberDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)As mentioned in class Javadoc, there is additional complexity in handling potentially mixed type information here.Object[]ObjectArrayDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectPrimitiveArrayDeserializers. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectReferenceTypeDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectStdDelegatingDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectStdDelegatingDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer, T intoValue)ObjectStdDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)Base implementation that does not assume specific type inclusion mechanism.ObjectStdNodeBasedDeserializer. deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer td)ObjectStdScalarDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectStringArrayDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectStringCollectionDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)StringStringDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectUntypedObjectDeserializer. deserializeWithType(JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectUntypedObjectDeserializer.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 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 Object[]ObjectArrayDeserializer. 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 JsonParser Modifier and Type Method Description static 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.static UnrecognizedPropertyExceptionUnrecognizedPropertyException. 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) -
Uses of JsonParser in com.fasterxml.jackson.databind.ext
Methods in com.fasterxml.jackson.databind.ext with parameters of type JsonParser Modifier and Type Method Description ObjectCoreXMLDeserializers.Std. deserialize(JsonParser p, DeserializationContext ctxt)PathNioPathDeserializer. 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 JsonParser Modifier and Type Method Description static 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 JsonParser Modifier and Type Method Description protected 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)ObjectAsArrayTypeDeserializer. deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt)ObjectAsPropertyTypeDeserializer. deserializeTypedFromAny(JsonParser p, DeserializationContext ctxt)ObjectAsWrapperTypeDeserializer. deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt)ObjectAsArrayTypeDeserializer. deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt)Method called when actual object is serialized as JSON Array.ObjectAsWrapperTypeDeserializer. deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt)ObjectAsArrayTypeDeserializer. deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt)Method called when actual object is serialized as JSON ObjectObjectAsDeductionTypeDeserializer. deserializeTypedFromObject(JsonParser p, DeserializationContext ctxt)ObjectAsPropertyTypeDeserializer. deserializeTypedFromObject(JsonParser p, DeserializationContext ctxt)This is the trickiest thing to handle, since property we are looking for may be anywhere...ObjectAsWrapperTypeDeserializer. deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt)Deserializing type id enclosed using WRAPPER_OBJECT style is straightforwardObjectAsArrayTypeDeserializer. deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt)ObjectAsWrapperTypeDeserializer. deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt) -
Uses of JsonParser in com.fasterxml.jackson.databind.node
Subclasses of JsonParser in com.fasterxml.jackson.databind.node Modifier and Type Class Description classTreeTraversingParserFacade overJsonNodethat implementsJsonParserto allow accessing contents of JSON tree in alternate form (stream of tokens).Methods in com.fasterxml.jackson.databind.node that return JsonParser Modifier and Type Method Description JsonParserTreeTraversingParser. skipChildren()JsonParserBaseJsonNode. traverse()JsonParserBaseJsonNode. traverse(ObjectCodec codec) -
Uses of JsonParser in com.fasterxml.jackson.databind.util
Subclasses of JsonParser in com.fasterxml.jackson.databind.util Modifier and Type Class Description protected static classTokenBuffer.ParserMethods in com.fasterxml.jackson.databind.util that return JsonParser Modifier and Type Method Description JsonParserTokenBuffer. asParser()Method used to create aJsonParserthat can read contents stored in this buffer.JsonParserTokenBuffer. asParser(JsonParser src)JsonParserTokenBuffer. asParser(ObjectCodec codec)Method used to create aJsonParserthat can read contents stored in this buffer.JsonParserTokenBuffer. asParser(StreamReadConstraints streamReadConstraints)JsonParserTokenBuffer. asParserOnFirstToken()Same as:Methods in com.fasterxml.jackson.databind.util with parameters of type JsonParser Modifier and Type Method Description protected voidTokenBuffer. _copyBufferContents(JsonParser p)static TokenBufferTokenBuffer. asCopyOfValue(JsonParser p)Deprecated.Since 2.13: useDeserializationContext.bufferAsCopyOfValue(com.fasterxml.jackson.core.JsonParser)instead.JsonParserTokenBuffer. asParser(JsonParser src)voidTokenBuffer. copyCurrentEvent(JsonParser p)voidTokenBuffer. copyCurrentStructure(JsonParser p)TokenBufferTokenBuffer. deserialize(JsonParser p, DeserializationContext ctxt)Helper method used by standard deserializer.Constructors in com.fasterxml.jackson.databind.util with parameters of type JsonParser Constructor Description TokenBuffer(JsonParser p)TokenBuffer(JsonParser p, DeserializationContext ctxt) -
Uses of JsonParser in com.fasterxml.jackson.datatype.jdk8
Methods in com.fasterxml.jackson.datatype.jdk8 with parameters of type JsonParser Modifier and Type Method Description OptionalIntOptionalIntDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)OptionalLongOptionalLongDeserializer. deserialize(JsonParser p, DeserializationContext ctxt) -
Uses of JsonParser in com.fasterxml.jackson.datatype.jsr310.deser
-
Uses of JsonParser in com.fasterxml.jackson.jakarta.rs.base
Methods in com.fasterxml.jackson.jakarta.rs.base that return JsonParser Modifier and Type Method Description protected 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 JsonParser Modifier and Type Method Description abstract 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 JsonParser Modifier and Type Method Description DataHandlerDataHandlerDeserializer. deserialize(JsonParser p, DeserializationContext ctxt)
-