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 faf9248 commit fa47605Copy full SHA for fa47605
src/main/kotlin/io/getunleash/data/Parser.kt
@@ -1,5 +1,6 @@
1
package io.getunleash.data
2
3
+import com.fasterxml.jackson.databind.DeserializationFeature
4
import com.fasterxml.jackson.databind.ObjectMapper
5
import com.fasterxml.jackson.databind.SerializationFeature
6
import com.fasterxml.jackson.databind.util.StdDateFormat
@@ -10,5 +11,5 @@ object Parser {
10
11
jacksonObjectMapper().disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
12
.setDateFormat(
13
StdDateFormat().withColonInTimeZone(true)
- )
14
-}
+ ).disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
15
+}
0 commit comments