We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be5d31e commit b257e22Copy full SHA for b257e22
payments-api/src/main/java/com/intuit/payment/util/JsonUtil.java
@@ -20,6 +20,7 @@
20
import java.text.SimpleDateFormat;
21
import java.util.TimeZone;
22
23
+import com.fasterxml.jackson.databind.DeserializationFeature;
24
import org.slf4j.Logger;
25
26
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@@ -51,6 +52,7 @@ public class JsonUtil {
51
52
mapper.setDateFormat(dateFormat);
53
mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
54
mapper.setSerializationInclusion(Include.NON_NULL);
55
+ mapper.configure(DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL, true);
56
}
57
58
/**
0 commit comments