UtcOffsetSerializer

object UtcOffsetSerializer : KSerializer<UtcOffset>

A serializer for UtcOffset that uses the ISO-8601 representation.

JSON example: "+02:00"

See also

kotlinx.datetime.UtcOffset

Functions

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

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor