com.google.api.server.spi.config

## Annotation Type ApiTransformer

-     @Retention(value=RUNTIME)
      public @interface ApiTransformer

  An annotation for customizing API output by simple type conversion.

  This can be used in two ways. The first is to annotate a class. This specifies that the transformer should be used to convert any objects of this type to the target type. This applies to all APIs in the current App Engine application.

  The second is to use `Api.transformers()`. This can be used to customize serialization of third-party classes, but is not applied globally and is instead done per-API.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `java.lang.Class<? extends Transformer<?,?>>` | `value` The serializer class to do the type conversion.

- - ### Element Detail

    - #### value

          public abstract java.lang.Class<? extends Transformer<?,?>> value

      The serializer class to do the type conversion. It must be possible to create this class using `Class.newInstance()`.