I'm have a lib's enum look like this:
enum class VatRate {
none,
tax10,
tax20
}
I can't modify this enum. And I need to deserialize VatRate
from xml like this:
<testXml>
<vat>vat10</vat>
</testXml>
I know how to create and use mixins with jackson. But how to tell jackson to use external function for deserialisation?