YearMonthComponentSerializer

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

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

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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