Uses of Class
tools.jackson.databind.module.SimpleModule
Packages that use SimpleModule
Package
Description
Package that contains classes and interfaces to help implement
custom extension
JacksonModule
s
(which are registered on ObjectMapper via builders}.-
Uses of SimpleModule in tools.jackson.databind.module
Methods in tools.jackson.databind.module that return SimpleModuleModifier and TypeMethodDescription<T> SimpleModule
SimpleModule.addAbstractTypeMapping
(Class<T> superType, Class<? extends T> subType) Lazily-constructed resolver used for storing mappings from abstract classes to more specific implementing classes (which may be abstract or concrete)<T> SimpleModule
SimpleModule.addDeserializer
(Class<T> type, ValueDeserializer<? extends T> deser) Method for adding deserializer to handle specified type.SimpleModule.addKeyDeserializer
(Class<?> type, KeyDeserializer deser) NOTE: This method registers "default" (de)serializers only.<T> SimpleModule
SimpleModule.addKeySerializer
(Class<? extends T> type, ValueSerializer<T> ser) NOTE: This method registers "default" (de)serializers only.<T> SimpleModule
SimpleModule.addSerializer
(Class<? extends T> type, ValueSerializer<T> ser) Method for adding serializer to handle values of specific type.SimpleModule.addSerializer
(ValueSerializer<?> ser) Method for adding serializer to handle type that the serializer claims to handle (seeValueSerializer.handledType()
).SimpleModule.addValueInstantiator
(Class<?> beanType, ValueInstantiator inst) Method for registeringValueInstantiator
to use when deserializing instances of typebeanType
.SimpleModule.registerSubtypes
(Class<?>... subtypes) Method for adding set of subtypes to be registered withObjectMapper
this is an alternative to using annotations in super type to indicate subtypes.SimpleModule.registerSubtypes
(Collection<Class<?>> subtypes) Method for adding set of subtypes (along with type name to use) to be registered withObjectMapper
this is an alternative to using annotations in super type to indicate subtypes.SimpleModule.registerSubtypes
(NamedType... subtypes) Method for adding set of subtypes (along with type name to use) to be registered withObjectMapper
this is an alternative to using annotations in super type to indicate subtypes.SimpleModule.setAbstractTypes
(SimpleAbstractTypeResolver atr) Resets currently configured abstract type mappingsSimpleModule.setDefaultNullKeySerializer
(ValueSerializer<?> ser) SimpleModule.setDefaultNullValueSerializer
(ValueSerializer<?> ser) SimpleModule.setDeserializerModifier
(ValueDeserializerModifier mod) SimpleModule.setDeserializers
(SimpleDeserializers d) Resets all currently configured deserializers.SimpleModule.setKeyDeserializers
(SimpleKeyDeserializers kd) Resets all currently configured key deserializers.SimpleModule.setKeySerializers
(SimpleSerializers ks) Resets all currently configured key serializers.SimpleModule.setMixInAnnotation
(Class<?> targetType, Class<?> mixinClass) Method for specifying that annotations define bymixinClass
should be "mixed in" with annotations thattargetType
has (as if they were directly included on it!).protected SimpleModule
SimpleModule.setNamingStrategy
(PropertyNamingStrategy naming) SimpleModule.setSerializerModifier
(ValueSerializerModifier mod) SimpleModule.setSerializers
(SimpleSerializers s) Resets all currently configured serializers.SimpleModule.setValueInstantiators
(SimpleValueInstantiators svi) Resets all currently configured value instantiators