public class VariableTypeJackson2ObjectMapperFactoryBean extends Jackson2ObjectMapperFactoryBean
Jackson2ObjectMapperFactoryBean
to
configure the resulting ObjectMapper
to provide the types in
the output. This is needed for use cases involving Spring Batch's
ExecutionContext
which can contain a mixture of value types.Constructor and Description |
---|
VariableTypeJackson2ObjectMapperFactoryBean() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getObject() |
afterPropertiesSet, getObjectType, isSingleton, setAnnotationIntrospector, setAutoDetectFields, setAutoDetectGettersSetters, setBeanClassLoader, setCreateXmlMapper, setDateFormat, setDefaultViewInclusion, setDeserializersByType, setFailOnEmptyBeans, setFailOnUnknownProperties, setFeaturesToDisable, setFeaturesToEnable, setFindModulesViaServiceLoader, setIndentOutput, setMixIns, setModules, setModulesToInstall, setObjectMapper, setPropertyNamingStrategy, setSerializationInclusion, setSerializers, setSerializersByType, setSimpleDateFormat
public VariableTypeJackson2ObjectMapperFactoryBean()
public com.fasterxml.jackson.databind.ObjectMapper getObject()
getObject
in interface FactoryBean<com.fasterxml.jackson.databind.ObjectMapper>
getObject
in class Jackson2ObjectMapperFactoryBean
Copyright © 2015. All rights reserved.