Simranjit Singh

Results 2 comments of Simranjit Singh

Ok, whats the solution here?

Found the solution here: https://fasterxml.github.io/jackson-annotations/javadoc/2.4/com/fasterxml/jackson/annotation/JsonTypeInfo.html Adding `visible = true`, the property will be passed as-is to deserializers. `@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", visible = true)`