File tree 1 file changed +0
-6
lines changed
src/main/java/accelerate/commons/util
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 11
11
import com .fasterxml .jackson .annotation .JsonFilter ;
12
12
import com .fasterxml .jackson .annotation .JsonInclude .Include ;
13
13
import com .fasterxml .jackson .annotation .PropertyAccessor ;
14
- import com .fasterxml .jackson .core .JsonGenerator ;
15
- import com .fasterxml .jackson .core .JsonParser ;
16
14
import com .fasterxml .jackson .core .JsonProcessingException ;
17
15
import com .fasterxml .jackson .databind .MapperFeature ;
18
16
import com .fasterxml .jackson .databind .ObjectMapper ;
@@ -95,12 +93,8 @@ public static <T extends ObjectMapper> T configureMapper(T aMapper) {
95
93
// Write settings
96
94
aMapper .setDefaultPropertyInclusion (Include .NON_NULL );
97
95
aMapper .configure (SerializationFeature .FAIL_ON_EMPTY_BEANS , false );
98
- aMapper .configure (JsonGenerator .Feature .ESCAPE_NON_ASCII , true );
99
96
aMapper .configure (MapperFeature .ALLOW_FINAL_FIELDS_AS_MUTATORS , false );
100
97
101
- // Read settings
102
- aMapper .configure (JsonParser .Feature .ALLOW_UNQUOTED_FIELD_NAMES , true );
103
-
104
98
return aMapper ;
105
99
}
106
100
You can’t perform that action at this time.
0 commit comments