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) . |
com.fasterxml.jackson.datatype.jsr310 |
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) |
Modifier and Type | Class and Description |
---|---|
class |
JavaTimeModule
Class that registers capability of serializing
java.time objects with the Jackson core. |
class |
JSR310Module
Deprecated.
Replaced by
JavaTimeModule since Jackson 2.7, see above for
details on differences in the default configuration. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.