Skip to main content

Module ndjson

Module ndjson 

Source
Expand description

Newline-delimited JSON — one record per line, easy to pipe to jq -c or read line-by-line in tests. Same lossy rules as json (see that module).

Functions§

write_list
write_record
write_scalar