Class JacksonAutoConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration
@Configuration @ConditionalOnClass(com.fasterxml.jackson.databind.ObjectMapper.class) public class JacksonAutoConfiguration extends Object
Auto configuration for Jackson. The following auto-configuration will get applied:- an
ObjectMapper
in case none is already configured. - a
Jackson2ObjectMapperBuilder
in case none is already configured. - auto-registration for all
Module
beans with allObjectMapper
beans (including the defaulted ones).
- Since:
- 1.1.0
- an
Constructor Summary
Constructors Constructor Description JacksonAutoConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.jackson.JsonComponentModule
jsonComponentModule()
Constructor Detail
JacksonAutoConfiguration
public JacksonAutoConfiguration()
Method Detail
jsonComponentModule
@Bean public org.springframework.boot.jackson.JsonComponentModule jsonComponentModule()