Annotation Interface JsonMixin
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Deprecated(since="4.0.0",
forRemoval=true)
public @interface JsonMixin
Deprecated, for removal: This API element is subject to removal in a future version.
Provides a mixin class implementation that registers with Jackson when using
JsonMixinModule.- Since:
- 4.0.0
- Author:
- Guirong Hu
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?>[]Deprecated, for removal: This API element is subject to removal in a future version.The types that are handled by the provided mix-in class.Class<?>[]Deprecated, for removal: This API element is subject to removal in a future version.Alias for thetype()attribute.
-
Element Details
-
value
Deprecated, for removal: This API element is subject to removal in a future version.Alias for thetype()attribute. Allows for more concise annotation declarations e.g.:@JsonMixin(MyType.class)instead of@JsonMixin(type=MyType.class).- Returns:
- the mixed-in classes
- Default:
{}
-
type
-
JacksonMixin.