ServiceResultSerializer

class ServiceResultSerializer<T : Any>(serializer: KSerializer<T?>) : KSerializer<SetOrDont<T?>>

Constructors

Link copied to clipboard
constructor(serializer: KSerializer<T?>)

Types

Link copied to clipboard
@Serializable
@SerialName(value = "ServiceResult")
data class ServiceResultSurrogate<out T : Any>(val type: ServiceResultSerializer.ServiceResultSurrogate.Type, val value: T? = null)

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): SetOrDont<T?>
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: SetOrDont<T?>)