Annotation Type Decoder.Json

Enclosing class:
Decoder

@Documented @Target(PARAMETER) @Retention(RUNTIME) @API(status=STABLE, since="2.0.0") public static @interface Decoder.Json
Annotation to specify to use a json decoder.
Since:
2.0.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to downsample colors.
  • Element Details

    • downsampleColors

      @API(status=STABLE, since="2.0.0") boolean downsampleColors
      Whether to downsample colors.
      Returns:
      Whether to downsample colors
      Since:
      2.0.0
      Default:
      false