Uses of Class
com.fasterxml.jackson.databind.deser.ValueInstantiator
Packages that use ValueInstantiator
Package
Description
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.Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind
).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.
Package that contains classes and interfaces to help implement
custom extension
Module
s
(which are registered using
ObjectMapper.registerModule(com.fasterxml.jackson.databind.Module)
.-
Uses of ValueInstantiator in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind with parameters of type ValueInstantiatorModifier and TypeMethodDescriptionDeserializationContext.handleMissingInstantiator
(Class<?> instClass, ValueInstantiator valueInst, com.fasterxml.jackson.core.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). -
Uses of ValueInstantiator in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg that return ValueInstantiatorModifier and TypeMethodDescriptionHandlerInstantiator.valueInstantiatorInstance
(MapperConfig<?> config, Annotated annotated, Class<?> resolverClass) Method called to construct an instance of ValueInstantiator of specified type. -
Uses of ValueInstantiator in com.fasterxml.jackson.databind.deser
Subclasses of ValueInstantiator in com.fasterxml.jackson.databind.deserModifier and TypeClassDescriptionstatic class
PartialValueInstantiator
implementation that is strongly recommended to be used instead of directly extendingValueInstantiator
itself.static class
DelegatingValueInstantiator
implementation meant as a base type that by default delegates methods to specified fallback instantiator.Fields in com.fasterxml.jackson.databind.deser declared as ValueInstantiatorModifier and TypeFieldDescriptionprotected final ValueInstantiator
ValueInstantiator.Delegating._delegate
protected final ValueInstantiator
BeanDeserializerBase._valueInstantiator
Object that handles details of constructing initial bean value (to which bind data to), unless instance is passed (via updateValue())protected ValueInstantiator
BeanDeserializerBuilder._valueInstantiator
Object that will handle value instantiation for the bean type.protected final ValueInstantiator
SettableAnyProperty.MapFieldAnyProperty._valueInstantiator
Methods in com.fasterxml.jackson.databind.deser that return ValueInstantiatorModifier and TypeMethodDescriptionprotected ValueInstantiator
BasicDeserializerFactory._constructDefaultValueInstantiator
(DeserializationContext ctxt, BeanDescription beanDesc) Method that will construct standard defaultValueInstantiator
using annotations (like @JsonCreator) and visibility rulesBasicDeserializerFactory._valueInstantiatorInstance
(DeserializationConfig config, Annotated annotated, Object instDef) ValueInstantiator.createContextual
(DeserializationContext ctxt, BeanDescription beanDesc) "Contextualization" method that is called after construction but before first use, to allow instantiator access to context needed to possible resolve its dependencies.ValueInstantiator.Delegating.createContextual
(DeserializationContext ctxt, BeanDescription beanDesc) protected ValueInstantiator
ValueInstantiator.Delegating.delegate()
BasicDeserializerFactory.findValueInstantiator
(DeserializationContext ctxt, BeanDescription beanDesc) Value instantiator is created both based on creator annotations, and on optional externally provided instantiators (registered through module interface).abstract ValueInstantiator
DeserializerFactory.findValueInstantiator
(DeserializationContext ctxt, BeanDescription beanDesc) Method that is to find all creators (constructors, factory methods) for the bean type to deserialize.ValueInstantiators.Base.findValueInstantiator
(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator) ValueInstantiators.findValueInstantiator
(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator) Method called to find theValueInstantiator
to use for creating instances of specified type during deserialization.BeanDeserializerBase.getValueInstantiator()
BeanDeserializerBuilder.getValueInstantiator()
ValueInstantiator.Gettable.getValueInstantiator()
Methods in com.fasterxml.jackson.databind.deser with parameters of type ValueInstantiatorModifier and TypeMethodDescriptionValueInstantiators.Base.findValueInstantiator
(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator) ValueInstantiators.findValueInstantiator
(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator) Method called to find theValueInstantiator
to use for creating instances of specified type during deserialization.DeserializationProblemHandler.handleMissingInstantiator
(DeserializationContext ctxt, Class<?> instClass, ValueInstantiator valueInsta, com.fasterxml.jackson.core.JsonParser p, String msg) Method called when instance creation for a type fails due to lack of an instantiator.void
BeanDeserializerBuilder.setValueInstantiator
(ValueInstantiator inst) Constructors in com.fasterxml.jackson.databind.deser with parameters of type ValueInstantiatorModifierConstructorDescriptionprotected
Delegating
(ValueInstantiator delegate) MapFieldAnyProperty
(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser, ValueInstantiator inst) -
Uses of ValueInstantiator in com.fasterxml.jackson.databind.deser.impl
Fields in com.fasterxml.jackson.databind.deser.impl declared as ValueInstantiatorModifier and TypeFieldDescriptionprotected final ValueInstantiator
PropertyBasedCreator._valueInstantiator
Helper object that knows how to actually construct the instance by invoking creator method with buffered arguments.Methods in com.fasterxml.jackson.databind.deser.impl that return ValueInstantiatorModifier and TypeMethodDescriptionCreatorCollector.constructValueInstantiator
(DeserializationContext ctxt) static ValueInstantiator
JDKValueInstantiators.findStdValueInstantiator
(DeserializationConfig config, Class<?> raw) Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type ValueInstantiatorModifier and TypeMethodDescriptionstatic PropertyBasedCreator
PropertyBasedCreator.construct
(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps) Deprecated.static PropertyBasedCreator
PropertyBasedCreator.construct
(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps, boolean caseInsensitive) Factory method used for building actual instances to be used with types OTHER than POJOs.static PropertyBasedCreator
PropertyBasedCreator.construct
(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps, BeanPropertyMap allProperties) Factory method used for building actual instances to be used with POJOS: resolves deserializers, checks for "null values".Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type ValueInstantiatorModifierConstructorDescriptionprotected
PropertyBasedCreator
(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] creatorProps, boolean caseInsensitive, boolean addAliases) -
Uses of ValueInstantiator in com.fasterxml.jackson.databind.deser.std
Subclasses of ValueInstantiator in com.fasterxml.jackson.databind.deser.stdModifier and TypeClassDescriptionclass
ForJsonLocation
, we should be able to just implementValueInstantiator
(not that explicit one would be very hard but...)class
DefaultValueInstantiator
implementation, which supports Creator methods that can be indicated by standard Jackson annotations.Fields in com.fasterxml.jackson.databind.deser.std declared as ValueInstantiatorModifier and TypeFieldDescriptionprotected final ValueInstantiator
CollectionDeserializer._valueInstantiator
protected final ValueInstantiator
EnumMapDeserializer._valueInstantiator
protected final ValueInstantiator
MapDeserializer._valueInstantiator
protected final ValueInstantiator
ReferenceTypeDeserializer._valueInstantiator
protected final ValueInstantiator
StringCollectionDeserializer._valueInstantiator
Instantiator used in case custom handling is needed for creation.Methods in com.fasterxml.jackson.databind.deser.std that return ValueInstantiatorModifier and TypeMethodDescriptionCollectionDeserializer.getValueInstantiator()
EnumMapDeserializer.getValueInstantiator()
MapDeserializer.getValueInstantiator()
ReferenceTypeDeserializer.getValueInstantiator()
StdDeserializer.getValueInstantiator()
StringCollectionDeserializer.getValueInstantiator()
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type ValueInstantiatorModifier and TypeMethodDescriptionstatic JsonDeserializer
<?> EnumDeserializer.deserializerForCreator
(DeserializationConfig config, Class<?> enumClass, AnnotatedMethod factory, ValueInstantiator valueInstantiator, SettableBeanProperty[] creatorProps) Factory method used when Enum instances are to be deserialized using a creator (static factory method)Constructors in com.fasterxml.jackson.databind.deser.std with parameters of type ValueInstantiatorModifierConstructorDescriptionArrayBlockingQueueDeserializer
(JavaType containerType, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator) protected
ArrayBlockingQueueDeserializer
(JavaType containerType, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator, JsonDeserializer<Object> delegateDeser, NullValueProvider nuller, Boolean unwrapSingle) Constructor used when creating contextualized instances.AtomicReferenceDeserializer
(JavaType fullType, ValueInstantiator inst, TypeDeserializer typeDeser, JsonDeserializer<?> deser) CollectionDeserializer
(JavaType collectionType, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator) Constructor for context-free instances, where we do not yet know which property is using this deserializer.protected
CollectionDeserializer
(JavaType collectionType, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator, JsonDeserializer<Object> delegateDeser, NullValueProvider nuller, Boolean unwrapSingle) Constructor used when creating contextualized instances.EnumMapDeserializer
(JavaType mapType, ValueInstantiator valueInst, KeyDeserializer keyDeser, JsonDeserializer<?> valueDeser, TypeDeserializer vtd, NullValueProvider nuller) MapDeserializer
(JavaType mapType, ValueInstantiator valueInstantiator, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser) ReferenceTypeDeserializer
(JavaType fullType, ValueInstantiator vi, TypeDeserializer typeDeser, JsonDeserializer<?> deser) protected
StringCollectionDeserializer
(JavaType collectionType, ValueInstantiator valueInstantiator, JsonDeserializer<?> delegateDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, Boolean unwrapSingle) StringCollectionDeserializer
(JavaType collectionType, JsonDeserializer<?> valueDeser, ValueInstantiator valueInstantiator) -
Uses of ValueInstantiator in com.fasterxml.jackson.databind.module
Fields in com.fasterxml.jackson.databind.module with type parameters of type ValueInstantiatorModifier and TypeFieldDescriptionprotected HashMap
<ClassKey, ValueInstantiator> SimpleValueInstantiators._classMappings
Mappings from raw (type-erased, i.e.Methods in com.fasterxml.jackson.databind.module that return ValueInstantiatorModifier and TypeMethodDescriptionSimpleValueInstantiators.findValueInstantiator
(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator) Methods in com.fasterxml.jackson.databind.module with parameters of type ValueInstantiatorModifier and TypeMethodDescriptionSimpleModule.addValueInstantiator
(Class<?> beanType, ValueInstantiator inst) Method for registeringValueInstantiator
to use when deserializing instances of typebeanType
.SimpleValueInstantiators.addValueInstantiator
(Class<?> forType, ValueInstantiator inst) SimpleValueInstantiators.findValueInstantiator
(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator)