Uses of Class
com.fasterxml.jackson.databind.module.SimpleModule
Packages that use SimpleModule
Package
Description
Package that contains classes and interfaces to help implement
custom extension
Modules
(which are registered using
ObjectMapper.registerModule(Module).-
Uses of SimpleModule in com.fasterxml.jackson.databind.module
Methods in com.fasterxml.jackson.databind.module that return SimpleModuleModifier and TypeMethodDescription<T> SimpleModuleSimpleModule.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> SimpleModuleSimpleModule.addDeserializer(Class<T> type, JsonDeserializer<? 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> SimpleModuleSimpleModule.addKeySerializer(Class<? extends T> type, JsonSerializer<T> ser) NOTE: This method registers "default" (de)serializers only.SimpleModule.addSerializer(JsonSerializer<?> ser) Method for adding serializer to handle type that the serializer claims to handle (seeJsonSerializer.handledType()).<T> SimpleModuleSimpleModule.addSerializer(Class<? extends T> type, JsonSerializer<T> ser) Method for adding serializer to handle values of specific type.SimpleModule.addValueInstantiator(Class<?> beanType, ValueInstantiator inst) Method for registeringValueInstantiatorto use when deserializing instances of typebeanType.SimpleModule.registerSubtypes(NamedType... subtypes) Method for adding set of subtypes (along with type name to use) to be registered withObjectMapperthis is an alternative to using annotations in super type to indicate subtypes.SimpleModule.registerSubtypes(Class<?>... subtypes) Method for adding set of subtypes to be registered withObjectMapperthis 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 withObjectMapperthis is an alternative to using annotations in super type to indicate subtypes.SimpleModule.setDeserializerModifier(BeanDeserializerModifier mod) SimpleModule.setMixInAnnotation(Class<?> targetType, Class<?> mixinClass) Method for specifying that annotations define bymixinClassshould be "mixed in" with annotations thattargetTypehas (as if they were directly included on it!).protected SimpleModuleSimpleModule.setNamingStrategy(PropertyNamingStrategy naming) SimpleModule.setSerializerModifier(BeanSerializerModifier mod)