@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=com.google.gson.Gson.class) @EnableConfigurationProperties(value=GsonProperties.class) public class GsonAutoConfiguration extends Object
Auto-configuration
for Gson.Constructor and Description |
---|
GsonAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.google.gson.Gson |
gson(com.google.gson.GsonBuilder gsonBuilder) |
com.google.gson.GsonBuilder |
gsonBuilder(List<GsonBuilderCustomizer> customizers) |
org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration.StandardGsonBuilderCustomizer |
standardGsonBuilderCustomizer(GsonProperties gsonProperties) |
@Bean @ConditionalOnMissingBean public com.google.gson.GsonBuilder gsonBuilder(List<GsonBuilderCustomizer> customizers)
@Bean @ConditionalOnMissingBean public com.google.gson.Gson gson(com.google.gson.GsonBuilder gsonBuilder)
@Bean public org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration.StandardGsonBuilderCustomizer standardGsonBuilderCustomizer(GsonProperties gsonProperties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.