Jackson Polymorphic Deserialization based on Enum
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.