printNdjsonLine
printNdjsonLine(
value,options?):string
Defined in: packages/format-ndjson/src/ndjson-line-encoder.ts:16
Serializes one value to its LF-terminated NDJSON line.
The single implementation of the NDJSON write grammar: printNdjson and
createNdjsonLineEncoder are both built on this.
Parameters
Section titled “Parameters”JsonValue
options?
Section titled “options?”Returns
Section titled “Returns”string