Skip to content

Commit 78b5611

Browse files
set default objectEncoder FAIL_ON_UNKNOWN_PROPERTIES to false (#120)
1 parent 768b4bb commit 78b5611

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/iworkflow/core/JacksonJsonObjectEncoder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public JacksonJsonObjectEncoder() {
4545
// may be important if the replay is happening on a host in another timezone
4646
mapper.configure(DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE, false);
4747
mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
48+
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
4849
mapper.registerModule(new JavaTimeModule());
4950
mapper.registerModule(new Jdk8Module());
5051
mapper.setVisibility(PropertyAccessor.FIELD, JsonAutoDetect.Visibility.ANY);

0 commit comments

Comments
 (0)