@Configuration @ConditionalOnClass(value=com.fasterxml.jackson.databind.ObjectMapper.class) @EnableConfigurationProperties(value=HttpMapperProperties.class) public class JacksonAutoConfiguration extends Object
ObjectMapper
in case none is already configured.JodaModule
registered if it's on the classpath.JSR310Module
registered if it's on the classpath and the application is
running on Java 8 or better.Module
beans with all ObjectMapper
beans
(including the defaulted ones).Constructor and Description |
---|
JacksonAutoConfiguration() |
@Bean @Primary @ConditionalOnMissingBean public com.fasterxml.jackson.databind.ObjectMapper jacksonObjectMapper()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.