adapter

inline fun <T : JsonAdapter<K>, K> adapter(noinline fn: (Moshi) -> T): Pair<String, (Moshi) -> T>

Convenience function to create Moshi Adapter.