In the example
class Person { String name; int age; }
If the JSON object has a missing property \'age\',
{ name :
I think you would want to use the @JsonIgnore annotation: https://fasterxml.github.io/jackson-annotations/javadoc/2.2.0/com/fasterxml/jackson/annotation/JsonIgnore.html