Skip to content

Commit 596ebe0

Browse files
Changes to handle API changes due to Spring Boot upgrade as per issue -
#4
1 parent c90a650 commit 596ebe0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/accelerate/commons/util/JacksonUtils.java

-6
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
import com.fasterxml.jackson.annotation.JsonFilter;
1212
import com.fasterxml.jackson.annotation.JsonInclude.Include;
1313
import com.fasterxml.jackson.annotation.PropertyAccessor;
14-
import com.fasterxml.jackson.core.JsonGenerator;
15-
import com.fasterxml.jackson.core.JsonParser;
1614
import com.fasterxml.jackson.core.JsonProcessingException;
1715
import com.fasterxml.jackson.databind.MapperFeature;
1816
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -95,12 +93,8 @@ public static <T extends ObjectMapper> T configureMapper(T aMapper) {
9593
// Write settings
9694
aMapper.setDefaultPropertyInclusion(Include.NON_NULL);
9795
aMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
98-
aMapper.configure(JsonGenerator.Feature.ESCAPE_NON_ASCII, true);
9996
aMapper.configure(MapperFeature.ALLOW_FINAL_FIELDS_AS_MUTATORS, false);
10097

101-
// Read settings
102-
aMapper.configure(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, true);
103-
10498
return aMapper;
10599
}
106100

0 commit comments

Comments
 (0)