Skip to main content

Module json

Module json 

Source
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 QueryResult into a JSON object:
value_to_json
Convert a scalar Value to a serde_json::Value.