Skip to main content

render_json

Function render_json 

Source
pub fn render_json(
    graph: &LineageGraph,
    sql_contents: Option<&HashMap<String, String>>,
    fields: &HashSet<String>,
)
Expand description

Render the lineage graph as JSON to stdout. Pretty-prints when stdout is a terminal, compact otherwise.