DelegatingSerializer

abstract class DelegatingSerializer<T, D>(val delegateSerializer: KSerializer<D>) : KSerializer<T> (source)

Constructors

Link copied to clipboard
constructor(delegateSerializer: KSerializer<D>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard

Helper function that helps decoding structure elements

Link copied to clipboard
open override fun deserialize(decoder: Decoder): T
Link copied to clipboard
abstract fun fromDelegate(delegate: D): T
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: T)
Link copied to clipboard
abstract fun T.toDelegate(): D