LocalDateComponentSerializer

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

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

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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