I wouldn't recommend using org.keycloak.util.JsonSerialization for your own
application. It's an internal utility class and can be changed/removed at any point.
----- Original Message -----
From: "Dean Peterson" <peterson.dean(a)gmail.com>
To: keycloak-user(a)lists.jboss.org
Sent: Friday, 5 December, 2014 5:48:32 AM
Subject: [keycloak-user] org.keycloak.util.JsonSerialization does not seem to support
@JsonTypeInfo
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 {
.
.
.
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user