toNdjson

fnstring toNdjson(const(var)[] values, JsonWriteOptions opts = JsonWriteOptions.init) @safe

Serialise values as NDJSON text.

Parameters

valuesValues to write, one per record.
optsJSON write options; pretty is forced off.

Returns

NDJSON text with a LF after every record.