MapOrPrimitiveSerializer

Serializer that can handle values which can be either a primitive (String, Number, Boolean) or a nested structure (Map, List) with arbitrary nesting levels.

Type Parameters

T

The type parameter for the serializer (usually Any, Map, or a specific type)

Constructors

Link copied to clipboard
constructor()

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)