ENUM

object ENUM : SerialKind

Represents a Kotlin Enum with statically known values. All enum values should be enumerated in descriptor elements. Each element descriptor of a Enum kind represents an instance of a particular enum and has an StructureKind.OBJECT kind. Each positional name contains a corresponding enum element name.

Corresponding encoder and decoder methods are Encoder.encodeEnum and Decoder.decodeEnum.

Functions

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String