Skip to main contentModule json
Source - GRAPH_DEFAULT_FIELDS
- Default node fields when neither –json-fields nor –json-full is specified.
- GRAPH_NODE_FIELDS
- All available node fields for graph JSON output.
- build_node_value
- Build a JSON object containing only the requested fields for a node.
- render_json
- Render the lineage graph as JSON to stdout.
Pretty-prints when stdout is a terminal, compact otherwise.
- render_json_to_writer
- Render the lineage graph as JSON to the given writer.
- resolve_graph_fields
- Resolve which fields to emit, and validate field names.
Returns
Err with a message listing available fields if any name is unknown.