DayBasedDateTimeUnitSerializer

A serializer for DateTimeUnit.DayBased unit that represents the unit as an Int number of days.

JSON example: {"days":2}

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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