Skip to main content

Module transcoder

Module transcoder 

Source
Expand description

Streaming msgpack → JSON string transcoder.

Walks msgpack bytes and writes JSON text directly into a String. No intermediate serde_json::Value or nodedb_types::Value. Used ONLY at the outermost pgwire/HTTP layer for client compatibility.

Instant ext values (fixext8 type 1 / 2) render as ISO 8601 strings. Every other ext type renders as null.

Functions§

msgpack_to_json_string
Transcode raw msgpack bytes to a JSON string without intermediate types.