DelegateSerializer

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

Delegates kotlin serialization to a backing type for simpler encoding.

Constructors

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

Functions

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

Properties

Link copied to clipboard
override val descriptor: SerialDescriptor

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard