Jackson 1.9 @JsonTypeInfo visible discriminator property

415 Views Asked by At

Jackson 2.x has the "visible" property to be able to use the discriminator property in your bean:

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, 
    include = JsonTypeInfo.As.PROPERTY,
    property = "discriminator", visible=true)

Is there an equivalent for Jackson 1.9?

0

There are 0 best solutions below