Annotation Type MapFormat


  • @Documented
    @Retention(RUNTIME)
    @Target({PARAMETER,FIELD})
    @Inherited
    public @interface MapFormat
    Allows configuration how map property values are injected.
    Since:
    1.0
    • 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