Interface JsonAdapter.Factory

  • Enclosing class:
    JsonAdapter<T>

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

      • 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.