Uses of Class
com.fasterxml.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 (
com.fasterxml.jackson.databind).Contains implementation classes of deserialization part of
data binding.
-
Uses of InjectableValues in com.fasterxml.jackson.databind
Subclasses of InjectableValues in com.fasterxml.jackson.databindModifier and TypeClassDescriptionstatic classSimple standard implementation which uses a simple Map to store values to inject, identified by simple String keys.Fields in com.fasterxml.jackson.databind declared as InjectableValuesModifier and TypeFieldDescriptionprotected final InjectableValuesDeserializationContext._injectableValuesObject used for resolving references to injectable values.protected InjectableValuesObjectMapper._injectableValuesProvider for values to inject in deserialized POJOs.protected final InjectableValuesObjectReader._injectableValuesValues that can be injected during deserialization, if any.Methods in com.fasterxml.jackson.databind that return InjectableValuesModifier and TypeMethodDescriptionObjectMapper.getInjectableValues()ObjectReader.getInjectableValues()Methods in com.fasterxml.jackson.databind with parameters of type InjectableValuesModifier and TypeMethodDescriptionprotected ObjectReaderObjectReader._new(ObjectReader base, DeserializationConfig config, JavaType valueType, JsonDeserializer<Object> rootDeser, Object valueToUpdate, com.fasterxml.jackson.core.FormatSchema schema, InjectableValues injectableValues, DataFormatReaders dataFormatReaders) Overridable factory method called by various "withXxx()" methodsprotected ObjectReaderObjectMapper._newReader(DeserializationConfig config, JavaType valueType, Object valueToUpdate, com.fasterxml.jackson.core.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.ObjectMapper.setInjectableValues(InjectableValues injectableValues) Method for configuringInjectableValueswhich used to find values to inject.ObjectReader.with(InjectableValues injectableValues) Method for constructing a new instance with configuration that uses passedInjectableValuesto provide injectable values.Constructors in com.fasterxml.jackson.databind with parameters of type InjectableValuesModifierConstructorDescriptionprotectedDeserializationContext(DeserializationContext src, DeserializationConfig config, com.fasterxml.jackson.core.JsonParser p, InjectableValues injectableValues) Constructor used for creating actual per-call instances.protectedObjectReader(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, Object valueToUpdate, com.fasterxml.jackson.core.FormatSchema schema, InjectableValues injectableValues) Constructor called when a root deserializer should be fetched based on other configuration.protectedObjectReader(ObjectReader base, DeserializationConfig config, JavaType valueType, JsonDeserializer<Object> rootDeser, Object valueToUpdate, com.fasterxml.jackson.core.FormatSchema schema, InjectableValues injectableValues, DataFormatReaders dataFormatReaders) Copy constructor used for building variations. -
Uses of InjectableValues in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type InjectableValues -
Uses of InjectableValues in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser with parameters of type InjectableValuesModifier and TypeMethodDescriptionabstract DefaultDeserializationContextDefaultDeserializationContext.createInstance(DeserializationConfig config, com.fasterxml.jackson.core.JsonParser p, InjectableValues values) Method called to create actual usable per-deserialization context instance.DefaultDeserializationContext.Impl.createInstance(DeserializationConfig config, com.fasterxml.jackson.core.JsonParser p, InjectableValues values) Constructors in com.fasterxml.jackson.databind.deser with parameters of type InjectableValuesModifierConstructorDescriptionprotectedDefaultDeserializationContext(DefaultDeserializationContext src, DeserializationConfig config, com.fasterxml.jackson.core.JsonParser p, InjectableValues values)