Package io.micronaut.data.annotation
Annotation Interface JsonRepresentation
@Retention(RUNTIME)
@Target({PARAMETER,METHOD,FIELD})
@Documented
@Inherited
public @interface JsonRepresentation
The custom annotation used for
DataType.JSON
fields that can help us determing how to store and retrieve json fields.- Since:
- 4.0.0
- Author:
- radovanradic
-
Optional Element Summary
-
Element Details
-
type
JsonDataType type- Returns:
- the JSON representation type
- Default:
- DEFAULT
-