Jackson Bean Validation during deserialization of XML using xmlMapper

Viewed 24

I've a xml file that I'm deserializing using Jackson XmlMapper.

I wanted to do Bean validation during deserialization using javax.validation annotations like @Pattern, @Size, etc.

Is there a way to configure Jackson XmlMapper so that I can validates my POJO during deserialization?

0 Answers
Related