Skip to main content

write_ndjson

Function write_ndjson 

Source
pub fn write_ndjson(results: &[TypgFontFaceMatch], w: impl Write) -> Result<()>
Expand description

Write results as newline-delimited JSON (one object per line).

Each match is serialized on its own line. Suitable for streaming and line-oriented tools.