Connect with one of the following accounts


Please wait while we redirect...

Views: 640 Ask New Question

On By

1 Answer

You can use the following mapper configurations to Ignore missing / extra properties while deserialization using jackson

private final static ObjectMapper lenientMapper = new ObjectMapper();
lenientMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
lenientMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
On By

Answer This Question

Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News