Package org.springframework.boot.jackson
Annotation Interface JsonMixin
Provides a mixin class implementation that registers with Jackson when using
 
JsonMixinModule.- Since:
- 2.7.0
- Author:
- Guirong Hu
- See Also:
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
valueAlias 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
- Since:
- 2.7.0
 - Default:
- {}
 
- 
typeThe types that are handled by the provided mix-in class.value()is an alias for (and mutually exclusive with) this attribute.- Returns:
- the mixed-in classes
- Since:
- 2.7.0
 - Default:
- {}
 
 
-