XmlDateTimeSerializer

object XmlDateTimeSerializer : KSerializer<Instant>

Serializes Instant in the DID Resolution 1.0 §3.1 datetime format.

Apply to every timestamp that crosses a resolution wire boundary so conformance is enforced once, at the serialization boundary, rather than at each call site.

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)