Module payload

Module payload 

Source
Expand description

Payload encoding/decoding helpers.

Reflex uses Tauq as a compact, schema-friendly representation of JSON payloads.

Structs§

TauqBatchEncoder
Encodes multiple JSON values into a Tauq array.
TauqDecoder
Decodes Tauq text into JSON values.
TauqEncoder
Encodes JSON values into Tauq.

Enums§

TauqError
Errors returned by Tauq parsing. Top-level Tauq error type

Functions§

ensure_tauq_format
Converts a payload to Tauq if it looks like JSON; otherwise returns it unchanged.