ListToMapSerializer

abstract class ListToMapSerializer<T, K, V>(utilSerializer: KSerializer<Map<K, V>>, mapper: (K, V) -> T, reverseMapper: (T) -> Pair<K, V>) : KSerializer<List<T>>

Inheritors

Constructors

Link copied to clipboard
constructor(utilSerializer: KSerializer<Map<K, V>>, mapper: (K, V) -> T, reverseMapper: (T) -> Pair<K, V>)

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): List<T>
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: List<T>)