pub fn parse_pg_jsonl_with(
input: &str,
on_node: impl FnMut(Node),
on_edge: impl FnMut(Edge),
) -> Result<(), PgJsonlError>Expand description
Parse a complete PG-JSONL document, invoking on_node / on_edge
for each record as it is parsed. Memory stays bounded by one line.
ยงErrors
Returns the first PgJsonlError encountered.