EitherSerializer

class EitherSerializer<T1, T2>(t1Serializer: <ERROR CLASS><T1>, t2Serializer: <ERROR CLASS><T2>)

Constructors

Link copied to clipboard
fun <T1, T2> EitherSerializer(t1Serializer: <ERROR CLASS><T1>, t2Serializer: <ERROR CLASS><T2>)

Functions

Link copied to clipboard
open fun deserialize(decoder: <ERROR CLASS>): Either<T1, T2>
Link copied to clipboard
open fun serialize(encoder: <ERROR CLASS>, value: Either<T1, T2>)

Properties

Link copied to clipboard
open val descriptor: <ERROR CLASS>