DelegateSerializer

abstract class DelegateSerializer<SERIALIZED, DESERIALIZED>(delegate: KSerializer<SERIALIZED>) : KSerializer<DESERIALIZED>

Delegates kotlin serialization to a backing type for simpler encoding.

Inheritors

Constructors

Link copied to clipboard
constructor(delegate: KSerializer<SERIALIZED>)

Properties

Link copied to clipboard
override val descriptor: SerialDescriptor

Functions

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