Skip to content

Commit

Permalink
These should be disabled not enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladay committed Apr 7, 2022
1 parent 437eb61 commit a138566
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -24,11 +24,11 @@ public ObjectMapper objectMapper() {
return JsonMapper.builder()
.enable(SerializationFeature.INDENT_OUTPUT)
.enable(SerializationFeature.FAIL_ON_EMPTY_BEANS)
.enable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
.enable(DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS)
.enable(SerializationFeature.INDENT_OUTPUT)
.enable(JsonReadFeature.ALLOW_UNESCAPED_CONTROL_CHARS)
.enable(JsonReadFeature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER)
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
.disable(DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS)
.disable(MapperFeature.DEFAULT_VIEW_INCLUSION)
.build();
}
Expand Down

0 comments on commit a138566

Please sign in to comment.