LocalDateComponentSerializer

object LocalDateComponentSerializer : KSerializer<LocalDate>

A serializer for LocalDate that represents a value as its components.

JSON example: {"year":2020,"month":12,"day":9}

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): LocalDate
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: LocalDate)

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor