Skip to content

Commit

Permalink
[Fix]: JSON string cannot be accurately verified
Browse files Browse the repository at this point in the history
  • Loading branch information
gooch committed Jul 21, 2023
1 parent 0b9b7b8 commit 0fd19b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private JacksonUtils() {}
static {
MAPPER = new ObjectMapper();
MAPPER.registerModule(new DefaultScalaModule());
MAPPER.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
MAPPER.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true);
MAPPER.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
MAPPER.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
MAPPER.setSerializationInclusion(JsonInclude.Include.NON_NULL);
Expand Down

0 comments on commit 0fd19b7

Please sign in to comment.