File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/main/java/main/model/dto Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## 0.3.5 (unreleased)
4
+
5
+ Bugfixes:
6
+ - Add ALLOW_UNQUOTED_CONTROL_CHARS for mapper -> [ View Issue] ( https://github.com/aquality-automation/aquality-tracking/issues/45 )
7
+
3
8
## 0.3.4 (2019-12-10)
4
9
5
10
Features:
Original file line number Diff line number Diff line change 3
3
import com .fasterxml .jackson .annotation .JsonAutoDetect ;
4
4
import com .fasterxml .jackson .annotation .JsonInclude ;
5
5
import com .fasterxml .jackson .annotation .PropertyAccessor ;
6
+ import com .fasterxml .jackson .core .JsonParser ;
6
7
import com .fasterxml .jackson .core .JsonProcessingException ;
7
8
import com .fasterxml .jackson .databind .DeserializationFeature ;
8
9
import com .fasterxml .jackson .databind .MapperFeature ;
@@ -23,6 +24,7 @@ public DtoMapperGeneral() {
23
24
mapper .configure (MapperFeature .ACCEPT_CASE_INSENSITIVE_PROPERTIES , true );
24
25
mapper .setVisibility (PropertyAccessor .ALL , JsonAutoDetect .Visibility .NONE );
25
26
mapper .setVisibility (PropertyAccessor .FIELD , JsonAutoDetect .Visibility .ANY );
27
+ mapper .configure (JsonParser .Feature .ALLOW_UNQUOTED_CONTROL_CHARS , true );
26
28
}
27
29
28
30
public String serialize (Object object ) throws JsonProcessingException {
You can’t perform that action at this time.
0 commit comments