Skip to content

Commit 17e21f3

Browse files
committed
Ignore unknown properties when deserializing response bodies
https://github.com/FasterXML/jackson-docs/wiki/JacksonHowToIgnoreUnknown
1 parent 4f72dd5 commit 17e21f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net.adoptopenjdk.v3.vanilla/src/main/java/net/adoptopenjdk/v3/vanilla/internal/AOV3ObjectMappers.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public static ObjectMapper createObjectMapper()
3333
final JsonMapper mapper =
3434
JsonMapper.builder()
3535
.configure(DeserializationFeature.USE_BIG_INTEGER_FOR_INTS, true)
36+
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
3637
.build();
3738

3839
final var deserializers = AOV3Deserializers.create();

0 commit comments

Comments
 (0)