π New blog post!
Extra JSON fields in REST responses: ignored or error?
It depends. JSON-B, Jackson, #Quarkus, and #SpringBoot do not all behave the same.
Inspired by a question at J-Spring in Utrecht.
https://mehmandarov.com/unknown-json-fields-in-java-rest-clients/

Unknown JSON fields in Java REST clients: JSON-B, Jackson, Quarkus, and Spring Boot
What happens when a JSON response contains more fields than your DTO declares? The answer depends on your JSON provider. A look at the defaults for JSON-B, Jackson, Quarkus, and Spring when consuming an API with the MicroProfile REST Client β with the official docs to back each one up.







