Annotation Type Json.Import

Enclosing class:
Json

@Retention(CLASS) @Target({TYPE,PACKAGE}) public static @interface Json.Import
Specify types to generate JsonAdapters for.

These types are typically in an external project / dependency or otherwise types that we can't or don't want to explicitly annotate with @Json.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
    Specify types to generate Json Adapters for.
  • Element Details

    • value

      Class<?>[] value
      Specify types to generate Json Adapters for.