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?