Expand description
JSON serialization helpers for execution types.
Shared by sparrowdb-cli (NDJSON serve mode) and sparrowdb-node
(napi-rs bindings) to avoid duplicating the same conversion logic.
Functionsยง
- query_
result_ to_ json - Materialize a
QueryResultinto a JSON object: - value_
to_ json - Convert a scalar
Valueto aserde_json::Value.