LocalizedTextSerializer

Serializer for localized text that converts between Map and a list format.

This serializer handles the conversion of localized text entries, allowing them to be serialized as an array of objects with text and language properties rather than as a map.

Types

Link copied to clipboard

Represents a single localized text entry with text and language code.

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): Map<LanguageCode, String>
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Map<LanguageCode, String>)