I receive the following error only when using org.keycloak.util.JsonSerialization to deserialize:Unrecognized field "class" (Class com.abecorn.model.Item), not marked as ignorable
Here is the setup:
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = As.PROPERTY, property = "class")
@JsonIgnoreProperties(ignoreUnknown = true)
@Entity
@Indexed
public class Item {
.
.
.