PairSerializer

fun <K, V> PairSerializer(keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>): KSerializer<Pair<K, V>>(source)

Returns built-in serializer for Kotlin Pair. Resulting serializer represents pair as a structure of two key-value pairs.