Jackson resolves the target class for a json object using parameter/property types, annotations, json properties or a parameter in the object mapper.
please give custom deserializers easy access to this information. currently it is nearly impossible to create a deserializer that works for multiple types. the only way would be to implement "contextualdeserializer" and access the bean property which is very complicated.