Interface JsonAdapter.Factory

Enclosing interface:
JsonAdapter<T>

public static interface JsonAdapter.Factory
Factory for creating a JsonAdapter.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Type type, Jsonb jsonb)
    Create and return a JsonAdapter given the type and annotations or return null.
  • Method Details

    • create

      JsonAdapter<?> create(Type type, Jsonb jsonb)
      Create and return a JsonAdapter given the type and annotations or return null.

      Returning null means that the adapter could be created by another factory.