|
|
@ -1,5 +1,5 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Copyright 2012-2018 the original author or authors.
|
|
|
|
* Copyright 2012-2019 the original author or authors.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
@ -84,7 +84,8 @@ public class GsonAutoConfiguration {
|
|
|
|
.toCall(builder::generateNonExecutableJson);
|
|
|
|
.toCall(builder::generateNonExecutableJson);
|
|
|
|
map.from(properties::getExcludeFieldsWithoutExposeAnnotation)
|
|
|
|
map.from(properties::getExcludeFieldsWithoutExposeAnnotation)
|
|
|
|
.toCall(builder::excludeFieldsWithoutExposeAnnotation);
|
|
|
|
.toCall(builder::excludeFieldsWithoutExposeAnnotation);
|
|
|
|
map.from(properties::getSerializeNulls).toCall(builder::serializeNulls);
|
|
|
|
map.from(properties::getSerializeNulls).whenTrue()
|
|
|
|
|
|
|
|
.toCall(builder::serializeNulls);
|
|
|
|
map.from(properties::getEnableComplexMapKeySerialization)
|
|
|
|
map.from(properties::getEnableComplexMapKeySerialization)
|
|
|
|
.toCall(builder::enableComplexMapKeySerialization);
|
|
|
|
.toCall(builder::enableComplexMapKeySerialization);
|
|
|
|
map.from(properties::getDisableInnerClassSerialization)
|
|
|
|
map.from(properties::getDisableInnerClassSerialization)
|
|
|
|