The expected output type after parsing.
Constructs a new NDJsonParseStream.
The expected output type after parsing.
Optional parser settings, including a JSON reviver function.
ReadonlyreadableThe readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
ReadonlywritableThe writable read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
A
TransformStreamthat parses individual lines of text into structured JSON values. Automatically ignores empty lines and comments/keep-alive entries.Example