InstantLongSerializer

class InstantLongSerializer : KSerializer<Instant> (source)

JWS-Compliant Instant serializer. An instant is represented as seconds from epoch.

Constructors

Link copied to clipboard
constructor()

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)