InstantIso8601Serializer

object InstantIso8601Serializer : KSerializer<Instant> (source)

A serializer for Instant that uses the ISO 8601 representation.

JSON example: "2020-12-09T09:16:56.000124Z"

See also

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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