Altcha.V1.ServerSignaturePayload (Altcha v2.4.0)

Copy Markdown View Source

Represents the payload for server signatures.

Summary

Functions

Converts JSON to a ServerSignaturePayload struct. Unknown keys are ignored. Raises ArgumentError if the JSON is not an object.

Converts a ServerSignaturePayload struct to JSON.

Converts a ServerSignaturePayload struct to a JSON-encodable map in the wire format.

Functions

from_json(json)

Converts JSON to a ServerSignaturePayload struct. Unknown keys are ignored. Raises ArgumentError if the JSON is not an object.

to_json(signature_payload)

Converts a ServerSignaturePayload struct to JSON.

to_map(server_signature_payload)

Converts a ServerSignaturePayload struct to a JSON-encodable map in the wire format.