JwtHeaderSerializer

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

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

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

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