In the example
class Person {
String name;
int age;
}
If the JSON object has a missing property 'age',
{
"name": "John"
}
Person person = objectMapper.readValue(jsonFileReader, Person.class);
it throws a JsonMappingException saying it cannot deserialize. Is there an annotation to ignore missing fields during deserialization?