Package | Description |
---|---|
com.fasterxml.jackson.databind.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.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) |
SimpleModule |
SimpleModule.addKeyDeserializer(Class<?> type,
KeyDeserializer deser) |
<T> SimpleModule |
SimpleModule.addKeySerializer(Class<? extends T> type,
JsonSerializer<T> ser) |
<T> SimpleModule |
SimpleModule.addSerializer(Class<? extends T> type,
JsonSerializer<T> ser) |
SimpleModule |
SimpleModule.addSerializer(JsonSerializer<?> ser) |
SimpleModule |
SimpleModule.addValueInstantiator(Class<?> beanType,
ValueInstantiator inst)
Method for registering
ValueInstantiator to use when deserializing
instances of type beanType . |
SimpleModule |
SimpleModule.registerSubtypes(Class<?>... subtypes)
Method for adding set of subtypes to be registered with
ObjectMapper
this 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
ObjectMapper
this 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
mixinClass
should be "mixed in" with annotations that targetType
has (as if they were directly included on it!). |
protected SimpleModule |
SimpleModule.setNamingStrategy(PropertyNamingStrategy naming) |
SimpleModule |
SimpleModule.setSerializerModifier(BeanSerializerModifier mod) |
Copyright © 2014–2015 FasterXML. All rights reserved.