| Package | Description | 
|---|---|
| com.fasterxml.jackson.databind.module | Package that contains classes and interfaces to help implement
 custom extension  Modules
 (which are registered usingObjectMapper.registerModule(com.fasterxml.jackson.databind.Module). | 
| Modifier and Type | Method and Description | 
|---|---|
| <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,
               JsonDeserializer<? extends T> deser)Method for adding deserializer to handle specified type. | 
| SimpleModule | SimpleModule. addKeyDeserializer(Class<?> type,
                  KeyDeserializer deser)NOTE: This method registers "default" (de)serializers only. | 
| <T> SimpleModule | SimpleModule. addKeySerializer(Class<? extends T> type,
                JsonSerializer<T> ser)NOTE: This method registers "default" (de)serializers only. | 
| <T> SimpleModule | SimpleModule. addSerializer(Class<? extends T> type,
             JsonSerializer<T> ser)Method for adding serializer to handle values of specific type. | 
| SimpleModule | SimpleModule. addSerializer(JsonSerializer<?> ser)Method for adding serializer to handle type that the serializer claims to handle
 (see  JsonSerializer.handledType()). | 
| SimpleModule | SimpleModule. addValueInstantiator(Class<?> beanType,
                    ValueInstantiator inst)Method for registering  ValueInstantiatorto use when deserializing
 instances of typebeanType. | 
| SimpleModule | SimpleModule. registerSubtypes(Class<?>... subtypes)Method for adding set of subtypes to be registered with
  ObjectMapperthis is an alternative to using annotations in super type to indicate subtypes. | 
| SimpleModule | SimpleModule. registerSubtypes(Collection<Class<?>> subtypes)Method for adding set of subtypes (along with type name to use) to be registered with
  ObjectMapperthis is an alternative to using annotations in super type to indicate subtypes. | 
| SimpleModule | SimpleModule. registerSubtypes(NamedType... subtypes)Method for adding set of subtypes (along with type name to use) to be registered with
  ObjectMapperthis is an alternative to using annotations in super type to indicate subtypes. | 
| SimpleModule | SimpleModule. setDeserializerModifier(BeanDeserializerModifier mod) | 
| SimpleModule | SimpleModule. setMixInAnnotation(Class<?> targetType,
                  Class<?> mixinClass)Method for specifying that annotations define by  mixinClassshould be "mixed in" with annotations thattargetTypehas (as if they were directly included on it!). | 
| protected SimpleModule | SimpleModule. setNamingStrategy(PropertyNamingStrategy naming) | 
| SimpleModule | SimpleModule. setSerializerModifier(BeanSerializerModifier mod) | 
Copyright © 2008–2023 FasterXML. All rights reserved.