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.