LocalizedTextSerializer
object LocalizedTextSerializer : MapAsListSerializer<LocalizedTextSerializer.LocalizedTextEntry, LanguageCode, String> (source)
Serializer for localized text that converts between Map
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
data class LocalizedTextEntry(val text: String, val language: LanguageCode) : Map.Entry<LanguageCode, String>
Represents a single localized text entry with text and language code.