Skip to main content

export_dali_compat

Function export_dali_compat 

Source
pub fn export_dali_compat(
    result: &AnalyzeResult,
    sql: &str,
) -> Result<String, Error>
Expand description

Convert an AnalyzeResult into the Dali-compatible JSON string.

Serialisation is effectively infallible for DaliOutput (no custom Serialize impls, no non-string map keys), but we surface the error rather than panic so library consumers can handle it uniformly.