StringEnumSerializer

class StringEnumSerializer<T : AtpEnum>(serialName: String, safeValueOf: (String) -> T) : KSerializer<T>

Constructors

Link copied to clipboard
constructor(serialName: String, safeValueOf: (String) -> T)

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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