JwtPayloadSerializer

Serializer for JwtPayload values to and from their JSON object representation.

Serializes by encoding the underlying JwtPayload.jsonData JSON object directly. Deserializes by parsing the JSON object and constructing a JwtPayload with the canonical Base64URL-encoded representation of the serialized JSON as the raw payload bytes.

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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