http4k / org.http4k.format / SimpleMoshiAdapterFactory
open class SimpleMoshiAdapterFactory : Factory
Convenience class to create Moshi Adapter Factory
Name | Summary |
---|---|
<init> | Convenience class to create Moshi Adapter FactorySimpleMoshiAdapterFactory(vararg typesToAdapters: Pair < String , (Moshi) -> JsonAdapter<*>>) |
Name | Summary |
---|---|
create | open fun create(type: Type , annotations: Set < Annotation >, moshi: Moshi): JsonAdapter<*>? |