create

abstract fun create(type: Type, annotations: Set<out Annotation>, moshi: Moshi): JsonAdapter<out Any>

Attempts to create an adapter for {@code type} annotated with {@code annotations}. Thisreturns the adapter if one was created, or null if this factory isn't capable of creatingsuch an adapter.

Implementations may use adapter to compose adapters of other types, or nextAdapter to delegate to the underlying adapter of the same type.