Package io.micronaut.core.convert.format
Annotation Type MapFormat
-
@Documented @Retention(RUNTIME) @Target({PARAMETER,FIELD}) @Inherited public @interface MapFormat
Allows configuration how map property values are injected.- Since:
- 1.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringConvention
keyFormat
MapFormat.MapTransformation
transformation
-
-
-
Element Detail
-
transformation
MapFormat.MapTransformation transformation
- Returns:
- The map transformation to apply
- Default:
- io.micronaut.core.convert.format.MapFormat.MapTransformation.NESTED
-
-
-
keyFormat
StringConvention keyFormat
- Returns:
- The key format to apply to keys
- Default:
- io.micronaut.core.naming.conventions.StringConvention.HYPHENATED
-
-