All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Java.typeInfoAnnotation.mustache Maven / Gradle / Ivy

There is a newer version: 0.9.25
Show newest version
{{#jackson}}
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "{{discriminator}}", visible = true )
@JsonSubTypes({
  {{#children}}
  @JsonSubTypes.Type(value = {{classname}}.class, name = "{{^vendorExtensions.x-discriminator-value}}{{name}}{{/vendorExtensions.x-discriminator-value}}{{#vendorExtensions.x-discriminator-value}}{{{vendorExtensions.x-discriminator-value}}}{{/vendorExtensions.x-discriminator-value}}"),
  {{/children}}
}){{/jackson}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy