Uses of Class
tools.jackson.databind.InjectableValues
Packages that use InjectableValues
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 (
tools.jackson.databind
).Contains implementation classes of deserialization part of
data binding.
-
Uses of InjectableValues in tools.jackson.databind
Subclasses of InjectableValues in tools.jackson.databindModifier and TypeClassDescriptionstatic class
Simple standard implementation which uses a simple Map to store values to inject, identified by simple String keys.Fields in tools.jackson.databind declared as InjectableValuesModifier and TypeFieldDescriptionprotected final InjectableValues
DeserializationContext._injectableValues
Object used for resolving references to injectable values.protected final InjectableValues
ObjectMapper._injectableValues
Provider for values to inject in deserialized POJOs.protected final InjectableValues
ObjectReader._injectableValues
Values that can be injected during deserialization, if any.Methods in tools.jackson.databind that return InjectableValuesModifier and TypeMethodDescriptionObjectMapper.getInjectableValues()
ObjectReader.getInjectableValues()
Methods in tools.jackson.databind with parameters of type InjectableValuesModifier and TypeMethodDescriptionprotected ObjectReader
ObjectReader._new
(ObjectReader base, DeserializationConfig config, JavaType valueType, ValueDeserializer<Object> rootDeser, Object valueToUpdate, tools.jackson.core.FormatSchema schema, InjectableValues injectableValues) Factory method called by various "withXxx()" methodsprotected ObjectReader
ObjectMapper._newReader
(DeserializationConfig config, JavaType valueType, Object valueToUpdate, tools.jackson.core.FormatSchema schema, InjectableValues injectableValues) Factory method sub-classes must override, to produceObjectReader
instances of proper sub-typeObjectMapper.reader
(InjectableValues injectableValues) Factory method for constructingObjectReader
that will use specified injectable values.ObjectReader.with
(InjectableValues injectableValues) Method for constructing a new instance with configuration that uses passedInjectableValues
to provide injectable values.Method parameters in tools.jackson.databind with type arguments of type InjectableValuesModifier and TypeMethodDescriptionJacksonModule.SetupContext.overrideInjectableValues
(UnaryOperator<InjectableValues> v) Replace defaultInjectableValues
that have been configured to be used for mapper being built.Constructors in tools.jackson.databind with parameters of type InjectableValuesModifierConstructorDescriptionprotected
DeserializationContext
(tools.jackson.core.TokenStreamFactory streamFactory, DeserializerFactory df, DeserializerCache cache, DeserializationConfig config, tools.jackson.core.FormatSchema schema, InjectableValues injectableValues) protected
ObjectReader
(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, Object valueToUpdate, tools.jackson.core.FormatSchema schema, InjectableValues injectableValues) Constructor called when a root deserializer should be fetched based on other configuration.protected
ObjectReader
(ObjectReader base, DeserializationConfig config, JavaType valueType, ValueDeserializer<Object> rootDeser, Object valueToUpdate, tools.jackson.core.FormatSchema schema, InjectableValues injectableValues) Copy constructor used for building variations. -
Uses of InjectableValues in tools.jackson.databind.cfg
Fields in tools.jackson.databind.cfg declared as InjectableValuesModifier and TypeFieldDescriptionprotected InjectableValues
MapperBuilder._injectableValues
Provider for values to inject in deserialized POJOs.protected final InjectableValues
MapperBuilderState._injectableValues
Methods in tools.jackson.databind.cfg that return InjectableValuesMethods in tools.jackson.databind.cfg with parameters of type InjectableValuesModifier and TypeMethodDescriptionabstract DeserializationContextExt
DeserializationContexts.createContext
(DeserializationConfig config, tools.jackson.core.FormatSchema schema, InjectableValues injectables) Factory method for constructing context object for individualwriteValue
call.DeserializationContexts.DefaultImpl.createContext
(DeserializationConfig config, tools.jackson.core.FormatSchema schema, InjectableValues injectables) MapperBuilder.injectableValues
(InjectableValues v) Method parameters in tools.jackson.databind.cfg with type arguments of type InjectableValuesModifier and TypeMethodDescriptionModuleContextBase.overrideInjectableValues
(UnaryOperator<InjectableValues> v) -
Uses of InjectableValues in tools.jackson.databind.deser
Constructors in tools.jackson.databind.deser with parameters of type InjectableValuesModifierConstructorDescriptionprotected
DeserializationContextExt
(tools.jackson.core.TokenStreamFactory tsf, DeserializerFactory deserializerFactory, DeserializerCache cache, DeserializationConfig config, tools.jackson.core.FormatSchema schema, InjectableValues values) Constructor that will pass specified deserializer factory and cache: cache may be null (in which case default implementation will be used), factory cannot be nullImpl
(tools.jackson.core.TokenStreamFactory tsf, DeserializerFactory deserializerFactory, DeserializerCache cache, DeserializationConfig config, tools.jackson.core.FormatSchema schema, InjectableValues values)