@Configuration @ConditionalOnClass(name="org.assertj.core.api.Assert") @ConditionalOnProperty(value="spring.test.jsontesters.enabled") public class JsonTestersAutoConfiguration extends Object
AutoConfigureJsonTesters
Constructor and Description |
---|
JsonTestersAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
FactoryBean<BasicJsonTester> |
BasicJsonTesterFactoryBean() |
FactoryBean<GsonTester<?>> |
gsonTesterFactoryBean(com.google.gson.Gson gson) |
FactoryBean<JacksonTester<?>> |
jacksonTesterFactoryBean(com.fasterxml.jackson.databind.ObjectMapper mapper) |
static org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration.JsonMarshalTestersBeanPostProcessor |
jsonMarshalTestersBeanPostProcessor() |
@Bean public static org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration.JsonMarshalTestersBeanPostProcessor jsonMarshalTestersBeanPostProcessor()
@Bean @Scope(value="prototype") public FactoryBean<BasicJsonTester> BasicJsonTesterFactoryBean()
@Bean @Scope(value="prototype") @ConditionalOnClass(value=com.fasterxml.jackson.databind.ObjectMapper.class) @ConditionalOnBean(value=com.fasterxml.jackson.databind.ObjectMapper.class) public FactoryBean<JacksonTester<?>> jacksonTesterFactoryBean(com.fasterxml.jackson.databind.ObjectMapper mapper)
@Bean @Scope(value="prototype") @ConditionalOnClass(value=com.fasterxml.jackson.databind.ObjectMapper.class) @ConditionalOnBean(value=com.google.gson.Gson.class) public FactoryBean<GsonTester<?>> gsonTesterFactoryBean(com.google.gson.Gson gson)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.