Skip to main content

Module decode

Module decode 

Source
Expand description

Walks a compiled query’s ShapeNode alongside its decoded DecodedValue result to build a generic Value — the Rust port of pylon/query.py’s _decode/_decode_json_tuple/ _decode_json_member (there’s no per-type dataclass registry to hydrate against here, so every object-shaped result becomes a generic Object instead).

Functions§

decode
Decode value (the query’s own result column, already wire-decoded into a DecodedValue) using shape (the compiled query’s own output shape) into the crate’s generic Value.