[keycloak-user] org.keycloak.util.JsonSerialization does not seem to support @JsonTypeInfo
Dean Peterson
peterson.dean at gmail.com
Thu Dec 4 23:48:32 EST 2014
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 {
.
.
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20141204/a447942b/attachment.html
More information about the keycloak-user
mailing list