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 d2a0664 commit 533bf0fCopy full SHA for 533bf0f
webauthn-server-attestation/src/main/java/com/yubico/fido/metadata/JacksonCodecs.java
@@ -5,8 +5,13 @@
5
6
class JacksonCodecs {
7
8
- static ObjectMapper jsonWithDefaultEnums() {
+ static ObjectMapper json() {
9
return com.yubico.internal.util.JacksonCodecs.json()
10
+ .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
11
+ }
12
+
13
+ static ObjectMapper jsonWithDefaultEnums() {
14
+ return json()
15
.configure(DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE, true);
16
}
17
0 commit comments