Make GsonAutoConfiguration align with JacksonAutoConfiguration

See gh-11591
pull/11497/merge
Johnny Lim 7 years ago committed by Stephane Nicoll
parent 49c685b7c0
commit 50518514b0

@ -43,6 +43,7 @@ import org.springframework.core.Ordered;
public class GsonAutoConfiguration {
@Bean
@ConditionalOnMissingBean(GsonBuilder.class)
public GsonBuilder gsonBuilder(List<GsonBuilderCustomizer> customizers) {
GsonBuilder builder = new GsonBuilder();
customizers.forEach(c -> c.customize(builder));

Loading…
Cancel
Save