Skip to main content

render_ndjson

Function render_ndjson 

Source
pub fn render_ndjson(entries: &[Entry]) -> String
Expand description

Render entries as newline-delimited JSON, one object per line.

Each object has fields: name, depth, duration_ns, ok, and error (omitted when absent).