StringValueSerializer

abstract class StringValueSerializer<T : Any>(kClass: KClass<T>, serializer: (T) -> String = { it.toString() }, deserializer: (String) -> T) : KSerializer<T>

Inheritors

Constructors

Link copied to clipboard
constructor(kClass: KClass<T>, serializer: (T) -> String = { it.toString() }, deserializer: (String) -> T)

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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