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
Modules
(which are registered using
ObjectMapper.registerModule(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 classPartialValueInstantiatorimplementation that is strongly recommended to be used instead of directly extendingValueInstantiatoritself.static classDelegatingValueInstantiatorimplementation 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 ValueInstantiatorValueInstantiator.Delegating._delegateprotected final ValueInstantiatorBeanDeserializerBase._valueInstantiatorObject that handles details of constructing initial bean value (to which bind data to), unless instance is passed (via updateValue())protected ValueInstantiatorBeanDeserializerBuilder._valueInstantiatorObject that will handle value instantiation for the bean type.protected final ValueInstantiatorSettableAnyProperty.MapFieldAnyProperty._valueInstantiatorMethods in com.fasterxml.jackson.databind.deser that return ValueInstantiatorModifier and TypeMethodDescriptionprotected ValueInstantiatorBasicDeserializerFactory._constructDefaultValueInstantiator(DeserializationContext ctxt, BeanDescription beanDesc) Method that will construct standard defaultValueInstantiatorusing 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 ValueInstantiatorValueInstantiator.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 ValueInstantiatorDeserializerFactory.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 theValueInstantiatorto 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 theValueInstantiatorto 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.voidBeanDeserializerBuilder.setValueInstantiator(ValueInstantiator inst) Constructors in com.fasterxml.jackson.databind.deser with parameters of type ValueInstantiatorModifierConstructorDescriptionprotectedDelegating(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 ValueInstantiatorPropertyBasedCreator._valueInstantiatorHelper 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 ValueInstantiatorJDKValueInstantiators.findStdValueInstantiator(DeserializationConfig config, Class<?> raw) Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type ValueInstantiatorModifier and TypeMethodDescriptionstatic PropertyBasedCreatorPropertyBasedCreator.construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps) Deprecated.static PropertyBasedCreatorPropertyBasedCreator.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 PropertyBasedCreatorPropertyBasedCreator.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 ValueInstantiatorModifierConstructorDescriptionprotectedPropertyBasedCreator(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 TypeClassDescriptionclassForJsonLocation, we should be able to just implementValueInstantiator(not that explicit one would be very hard but...)classDefaultValueInstantiatorimplementation, 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 ValueInstantiatorCollectionDeserializer._valueInstantiatorprotected final ValueInstantiatorEnumMapDeserializer._valueInstantiatorprotected final ValueInstantiatorMapDeserializer._valueInstantiatorprotected final ValueInstantiatorReferenceTypeDeserializer._valueInstantiatorprotected final ValueInstantiatorStringCollectionDeserializer._valueInstantiatorInstantiator 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) protectedArrayBlockingQueueDeserializer(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.protectedCollectionDeserializer(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) protectedStringCollectionDeserializer(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._classMappingsMappings 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 registeringValueInstantiatorto use when deserializing instances of typebeanType.SimpleValueInstantiators.addValueInstantiator(Class<?> forType, ValueInstantiator inst) SimpleValueInstantiators.findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator)