Uses of Class
com.fasterxml.jackson.databind.deser.ValueInstantiator
-
Packages that use ValueInstantiator Package Description 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.annotation Annotations that directly depend on classes in databinding bundle (not just Jackson core) and cannot be included in Jackson core annotations package (because it cannot have any external dependencies).com.fasterxml.jackson.databind.cfg 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
).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.module Package that contains classes and interfaces to help implement custom extensionModule
s (which are registered usingObjectMapper.registerModule(com.fasterxml.jackson.databind.Module)
. -
-
Uses of ValueInstantiator in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind with parameters of type ValueInstantiator Modifier and Type Method Description java.lang.Object
DeserializationContext. handleMissingInstantiator(java.lang.Class<?> instClass, ValueInstantiator valueInst, com.fasterxml.jackson.core.JsonParser p, java.lang.String msg, java.lang.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.annotation
Methods in com.fasterxml.jackson.databind.annotation that return types with arguments of type ValueInstantiator Modifier and Type Method Description java.lang.Class<? extends ValueInstantiator>
value()
-
Uses of ValueInstantiator in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg that return ValueInstantiator Modifier and Type Method Description ValueInstantiator
HandlerInstantiator. valueInstantiatorInstance(MapperConfig<?> config, Annotated annotated, java.lang.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.deser Modifier and Type Class Description static class
ValueInstantiator.Base
PartialValueInstantiator
implementation that is strongly recommended to be used instead of directly extendingValueInstantiator
itself.static class
ValueInstantiator.Delegating
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 ValueInstantiator Modifier and Type Field Description protected ValueInstantiator
ValueInstantiator.Delegating. _delegate
protected 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.Methods in com.fasterxml.jackson.databind.deser that return ValueInstantiator Modifier and Type Method Description protected ValueInstantiator
BasicDeserializerFactory. _constructDefaultValueInstantiator(DeserializationContext ctxt, BeanDescription beanDesc)
Method that will construct standard defaultValueInstantiator
using annotations (like @JsonCreator) and visibility rulesValueInstantiator
BasicDeserializerFactory. _valueInstantiatorInstance(DeserializationConfig config, Annotated annotated, java.lang.Object instDef)
ValueInstantiator
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
ValueInstantiator.Delegating. createContextual(DeserializationContext ctxt, BeanDescription beanDesc)
protected ValueInstantiator
ValueInstantiator.Delegating. delegate()
ValueInstantiator
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.ValueInstantiator
ValueInstantiators.Base. findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator)
ValueInstantiator
ValueInstantiators. findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator)
Method called to find theValueInstantiator
to use for creating instances of specified type during deserialization.ValueInstantiator
BeanDeserializerBase. getValueInstantiator()
ValueInstantiator
BeanDeserializerBuilder. getValueInstantiator()
ValueInstantiator
ValueInstantiator.Gettable. getValueInstantiator()
Methods in com.fasterxml.jackson.databind.deser with parameters of type ValueInstantiator Modifier and Type Method Description ValueInstantiator
ValueInstantiators.Base. findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator)
ValueInstantiator
ValueInstantiators. findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator)
Method called to find theValueInstantiator
to use for creating instances of specified type during deserialization.java.lang.Object
DeserializationProblemHandler. handleMissingInstantiator(DeserializationContext ctxt, java.lang.Class<?> instClass, ValueInstantiator valueInsta, com.fasterxml.jackson.core.JsonParser p, java.lang.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 ValueInstantiator Constructor Description Delegating(ValueInstantiator delegate)
-
Uses of ValueInstantiator in com.fasterxml.jackson.databind.deser.impl
Fields in com.fasterxml.jackson.databind.deser.impl declared as ValueInstantiator Modifier and Type Field Description protected 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 ValueInstantiator Modifier and Type Method Description ValueInstantiator
CreatorCollector. constructValueInstantiator(DeserializationContext ctxt)
static ValueInstantiator
JDKValueInstantiators. findStdValueInstantiator(DeserializationConfig config, java.lang.Class<?> raw)
Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type ValueInstantiator Modifier and Type Method Description static 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 ValueInstantiator Constructor Description 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.std Modifier and Type Class Description class
JsonLocationInstantiator
ForJsonLocation
, we should be able to just implementValueInstantiator
(not that explicit one would be very hard but...)class
StdValueInstantiator
DefaultValueInstantiator
implementation, which supports Creator methods that can be indicated by standard Jackson annotations.Fields in com.fasterxml.jackson.databind.deser.std declared as ValueInstantiator Modifier and Type Field Description protected ValueInstantiator
CollectionDeserializer. _valueInstantiator
protected ValueInstantiator
EnumMapDeserializer. _valueInstantiator
protected ValueInstantiator
MapDeserializer. _valueInstantiator
protected ValueInstantiator
ReferenceTypeDeserializer. _valueInstantiator
protected ValueInstantiator
StringCollectionDeserializer. _valueInstantiator
Instantiator used in case custom handling is needed for creation.Methods in com.fasterxml.jackson.databind.deser.std that return ValueInstantiator Modifier and Type Method Description ValueInstantiator
CollectionDeserializer. getValueInstantiator()
ValueInstantiator
EnumMapDeserializer. getValueInstantiator()
ValueInstantiator
MapDeserializer. getValueInstantiator()
ValueInstantiator
ReferenceTypeDeserializer. getValueInstantiator()
ValueInstantiator
StdDeserializer. getValueInstantiator()
ValueInstantiator
StringCollectionDeserializer. getValueInstantiator()
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type ValueInstantiator Modifier and Type Method Description static JsonDeserializer<?>
EnumDeserializer. deserializerForCreator(DeserializationConfig config, java.lang.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 ValueInstantiator Constructor Description ArrayBlockingQueueDeserializer(JavaType containerType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator)
ArrayBlockingQueueDeserializer(JavaType containerType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator, JsonDeserializer<java.lang.Object> delegateDeser, NullValueProvider nuller, java.lang.Boolean unwrapSingle)
Constructor used when creating contextualized instances.AtomicReferenceDeserializer(JavaType fullType, ValueInstantiator inst, TypeDeserializer typeDeser, JsonDeserializer<?> deser)
CollectionDeserializer(JavaType collectionType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator)
Constructor for context-free instances, where we do not yet know which property is using this deserializer.CollectionDeserializer(JavaType collectionType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator, JsonDeserializer<java.lang.Object> delegateDeser, NullValueProvider nuller, java.lang.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<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser)
ReferenceTypeDeserializer(JavaType fullType, ValueInstantiator vi, TypeDeserializer typeDeser, JsonDeserializer<?> deser)
StringCollectionDeserializer(JavaType collectionType, ValueInstantiator valueInstantiator, JsonDeserializer<?> delegateDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, java.lang.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 ValueInstantiator Modifier and Type Field Description protected java.util.HashMap<ClassKey,ValueInstantiator>
SimpleValueInstantiators. _classMappings
Mappings from raw (type-erased, i.e.Methods in com.fasterxml.jackson.databind.module that return ValueInstantiator Modifier and Type Method Description ValueInstantiator
SimpleValueInstantiators. findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator)
Methods in com.fasterxml.jackson.databind.module with parameters of type ValueInstantiator Modifier and Type Method Description SimpleModule
SimpleModule. addValueInstantiator(java.lang.Class<?> beanType, ValueInstantiator inst)
Method for registeringValueInstantiator
to use when deserializing instances of typebeanType
.SimpleValueInstantiators
SimpleValueInstantiators. addValueInstantiator(java.lang.Class<?> forType, ValueInstantiator inst)
ValueInstantiator
SimpleValueInstantiators. findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator)
-