TimeZoneSerializer

object TimeZoneSerializer : KSerializer<TimeZone> (source)

A serializer for TimeZone that represents the time zone as its identifier.

JSON example: "Europe/Berlin"

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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