Uses of Interface
tools.jackson.databind.JacksonModule.SetupContext
Packages that use JacksonModule.SetupContext
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
).Package that contains classes and interfaces to help implement
custom extension
JacksonModule
s
(which are registered on ObjectMapper via builders}.-
Uses of JacksonModule.SetupContext in tools.jackson.databind
Methods in tools.jackson.databind that return JacksonModule.SetupContextModifier and TypeMethodDescriptionJacksonModule.SetupContext.addAbstractTypeResolver
(AbstractTypeResolver resolver) Method that module can use to register additionalAbstractTypeResolver
instance, to handle resolution of abstract to concrete types (either by defaulting, or by materializing).JacksonModule.SetupContext.addDeserializerModifier
(ValueDeserializerModifier mod) Method that module can use to register additional modifier objects to customize configuration and construction of bean deserializers.JacksonModule.SetupContext.addDeserializers
(Deserializers d) Method that module can use to register additional deserializers to use for handling types.JacksonModule.SetupContext.addHandler
(DeserializationProblemHandler handler) Add a deserialization problem handlerJacksonModule.SetupContext.addKeyDeserializers
(KeyDeserializers s) Method that module can use to register additional deserializers to use for handling Map key values (which are separate from value deserializers because they are always serialized from String values)JacksonModule.SetupContext.addKeySerializers
(Serializers s) Method that module can use to register additional serializers to use for handling Map key values (which are separate from value serializers because they must writeJsonToken.FIELD_NAME
instead of String value).JacksonModule.SetupContext.addSerializerModifier
(ValueSerializerModifier mod) Method that module can use to register additional modifier objects to customize configuration and construction of bean serializers.JacksonModule.SetupContext.addSerializers
(Serializers s) Method that module can use to register additional serializers to use for handling types.JacksonModule.SetupContext.addTypeModifier
(TypeModifier modifier) Method that module can use to register additionalTypeModifier
instance, which can augmentJavaType
instances constructed byTypeFactory
.JacksonModule.SetupContext.addValueInstantiators
(ValueInstantiators instantiators) Method that module can use to register additionalValueInstantiator
s, by addingValueInstantiators
object that gets called when instantatiator is needed by a deserializer.JacksonModule.SetupContext.appendAnnotationIntrospector
(AnnotationIntrospector ai) Method for registering specifiedAnnotationIntrospector
as the lowest priority introspector, chained with existing introspector(s) and called as fallback for cases not otherwise handled.JacksonModule.SetupContext.insertAnnotationIntrospector
(AnnotationIntrospector ai) Method for registering specifiedAnnotationIntrospector
as the highest priority introspector (will be chained with existing introspector(s) which will be used as fallbacks for cases this introspector does not handle)JacksonModule.SetupContext.overrideDefaultNullKeySerializer
(ValueSerializer<?> ser) Method that module can use to override handler called to write JSON Object key forMap
values.JacksonModule.SetupContext.overrideDefaultNullValueSerializer
(ValueSerializer<?> ser) Method that module can use to override handler called to write Java `null` as a value (Property or Map value, Collection/array element).JacksonModule.SetupContext.overrideInjectableValues
(UnaryOperator<InjectableValues> v) Replace defaultInjectableValues
that have been configured to be used for mapper being built.JacksonModule.SetupContext.registerSubtypes
(Class<?>... subtypes) Method for registering specified classes as subtypes (of supertype(s) they have)JacksonModule.SetupContext.registerSubtypes
(Collection<Class<?>> subtypes) Method for registering specified classes as subtypes (of supertype(s) they have)JacksonModule.SetupContext.registerSubtypes
(NamedType... subtypes) Method for registering specified classes as subtypes (of supertype(s) they have), using specified type names.Method used for defining mix-in annotations to use for augmenting specified class or interface.Methods in tools.jackson.databind with parameters of type JacksonModule.SetupContextModifier and TypeMethodDescriptionabstract void
JacksonModule.setupModule
(JacksonModule.SetupContext context) Method called byObjectMapper
when module is registered. -
Uses of JacksonModule.SetupContext in tools.jackson.databind.cfg
Classes in tools.jackson.databind.cfg that implement JacksonModule.SetupContextModifier and TypeClassDescriptionclass
Default implementation ofJacksonModule.SetupContext
used byObjectMapper
.Methods in tools.jackson.databind.cfg that return JacksonModule.SetupContextModifier and TypeMethodDescriptionModuleContextBase.addAbstractTypeResolver
(AbstractTypeResolver resolver) ModuleContextBase.addDeserializerModifier
(ValueDeserializerModifier modifier) ModuleContextBase.addDeserializers
(Deserializers d) ModuleContextBase.addHandler
(DeserializationProblemHandler handler) ModuleContextBase.addKeyDeserializers
(KeyDeserializers kd) ModuleContextBase.addKeySerializers
(Serializers s) ModuleContextBase.addSerializerModifier
(ValueSerializerModifier modifier) ModuleContextBase.addSerializers
(Serializers s) ModuleContextBase.addTypeModifier
(TypeModifier modifier) ModuleContextBase.addValueInstantiators
(ValueInstantiators instantiators) ModuleContextBase.appendAnnotationIntrospector
(AnnotationIntrospector ai) ModuleContextBase.insertAnnotationIntrospector
(AnnotationIntrospector ai) ModuleContextBase.overrideDefaultNullKeySerializer
(ValueSerializer<?> ser) ModuleContextBase.overrideDefaultNullValueSerializer
(ValueSerializer<?> ser) ModuleContextBase.overrideInjectableValues
(UnaryOperator<InjectableValues> v) ModuleContextBase.registerSubtypes
(Class<?>... subtypes) ModuleContextBase.registerSubtypes
(Collection<Class<?>> subtypes) ModuleContextBase.registerSubtypes
(NamedType... subtypes) -
Uses of JacksonModule.SetupContext in tools.jackson.databind.module
Methods in tools.jackson.databind.module with parameters of type JacksonModule.SetupContextModifier and TypeMethodDescriptionvoid
SimpleModule.setupModule
(JacksonModule.SetupContext context) Standard implementation handles registration of all configured customizations: it is important that sub-classes call this implementation (usually before additional custom logic) if they choose to override it; otherwise customizations will not be registered.