Jackson Polymorphic Deserialization based on Enum
Fixed!
It works with jackson 2.0!!
It worked for me using enum with the following :
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
include = JsonTypeInfo.As.EXISTING_PROPERTY,
property = "type",
visible = true
)
And here I'm using com.fasterxml.jackson.annotation
for Jackson Annotations.