MonthBasedDateTimeUnitSerializer

A serializer for DateTimeUnit.MonthBased unit that represents the unit as an Int number of months.

JSON example: {"months":2}

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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