NullableStringSerializer

object NullableStringSerializer : <ERROR CLASS> ERROR CLASS: Symbol not found for KSerializer<kotlin/String?>(source)

Convenience serializer for nullable String fields that combines ACCEPT_EMPTY_STRING_AS_NULL_OBJECT with null passthrough. An empty JSON string ("") or JSON null is decoded as null.

Usage:

Properties

Link copied to clipboard
open override val descriptor: ERROR CLASS: Symbol not found for SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: ERROR CLASS: Symbol not found for Decoder): String?
Link copied to clipboard
open override fun serialize(encoder: ERROR CLASS: Symbol not found for Encoder, value: String?)