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 classShared intermediate base class for standard implementations.static classSimple 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 InjectableValuesDeserializationContext._injectableValuesObject used for resolving references to injectable values.protected final InjectableValuesObjectMapper._injectableValuesProvider for values to inject in deserialized POJOs.protected final InjectableValuesObjectReader._injectableValuesValues that can be injected during deserialization, if any.Methods in tools.jackson.databind that return InjectableValuesModifier and TypeMethodDescriptionstatic InjectableValuesInjectableValues.empty()ObjectMapper.getInjectableValues()ObjectReader.getInjectableValues()Methods in tools.jackson.databind with parameters of type InjectableValuesModifier and TypeMethodDescriptionprotected ObjectReaderObjectReader._new(ObjectReader base, DeserializationConfig config, JavaType valueType, ValueDeserializer<Object> rootDeser, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Factory method called by various "withXxx()" methodsprotected ObjectReaderObjectMapper._newReader(DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Factory method sub-classes must override, to produceObjectReaderinstances of proper sub-typeObjectMapper.reader(InjectableValues injectableValues) Factory method for constructingObjectReaderthat will use specified injectable values.ObjectReader.with(InjectableValues injectableValues) Method for constructing a new instance with configuration that uses passedInjectableValuesto provide injectable values.Method parameters in tools.jackson.databind with type arguments of type InjectableValuesModifier and TypeMethodDescriptionJacksonModule.SetupContext.overrideInjectableValues(UnaryOperator<InjectableValues> v) Replace defaultInjectableValuesthat have been configured to be used for mapper being built.Constructors in tools.jackson.databind with parameters of type InjectableValuesModifierConstructorDescriptionprotectedDeserializationContext(TokenStreamFactory streamFactory, DeserializerFactory df, DeserializerCache cache, DeserializationConfig config, FormatSchema schema, InjectableValues injectableValues) protectedObjectReader(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Constructor called when a root deserializer should be fetched based on other configuration.protectedObjectReader(ObjectReader base, DeserializationConfig config, JavaType valueType, ValueDeserializer<Object> rootDeser, Object valueToUpdate, 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 InjectableValuesMapperBuilder._injectableValuesProvider for values to inject in deserialized POJOs.protected final InjectableValuesMapperBuilderState._injectableValuesMethods in tools.jackson.databind.cfg that return InjectableValuesMethods in tools.jackson.databind.cfg with parameters of type InjectableValuesModifier and TypeMethodDescriptionabstract DeserializationContextExtDeserializationContexts.createContext(DeserializationConfig config, FormatSchema schema, InjectableValues injectables) Factory method for constructing context object for individualwriteValuecall.DeserializationContexts.DefaultImpl.createContext(DeserializationConfig config, 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 InjectableValuesModifierConstructorDescriptionprotectedDeserializationContextExt(TokenStreamFactory tsf, DeserializerFactory deserializerFactory, DeserializerCache cache, DeserializationConfig config, 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(TokenStreamFactory tsf, DeserializerFactory deserializerFactory, DeserializerCache cache, DeserializationConfig config, FormatSchema schema, InjectableValues values)