DateTimePeriodIso8601Serializer

A serializer for DateTimePeriod that represents it as an ISO 8601 duration string.

JSON example: "P1DT-1H"

See also

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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