Class JsonParseStream
Hierarchy
- TransformStream<string, JsonValue>
- JsonParseStream
Index
Constructors
Properties
Constructors
constructor
- new
Json (): JsonParseStreamParse Stream Constructs new instance.
Returns JsonParseStream
Parse each chunk as JSON.
This can be used to parse JSON lines, NDJSON and JSON Text Sequences. Chunks consisting of spaces, tab characters, or newline characters will be ignored.
Example: Basic usage
Example: parse JSON lines or NDJSON from a file