ValidatedSerializer

class ValidatedSerializer<A, B>(errorSerializer: KSerializer<A>, elementSerializer: KSerializer<B>) : KSerializer<Validated<A, B>> (source)

Constructors

Link copied to clipboard
constructor(errorSerializer: KSerializer<A>, elementSerializer: KSerializer<B>)

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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