Polymorphic Deserialization with Jackson
When serializing POJOs to JSON we lose a very valuable information about the
polymorphic nature of the Java object. When we deserialize the same object from
JSON we have to know the exact object type and we cannot deserialize to a
supertype. Lucky for us, Jackson [https://github.com/FasterXML/