Utilities for parsing streaming JSON data.
Classes
Stream to parse Concatenated JSON.
Parse each chunk as JSON.
Convert each chunk to JSON string.
Interfaces
Options for JsonParseStream and
ConcatenatedJsonParseStream.
- readableStrategy: QueuingStrategy<JsonValue>
Controls the buffer of the
TransformStreamused internally. - writableStrategy: QueuingStrategy<string>
Controls the buffer of the
TransformStreamused internally.
Options for JsonStringifyStream.
- prefix: string
Prefix to be added after stringify.
- readableStrategy: QueuingStrategy<string>
Controls the buffer of the
TransformStreamused internally. - suffix: string
Suffix to be added after stringify.
- writableStrategy: QueuingStrategy<unknown>
Controls the buffer of the
TransformStreamused internally.
Type Aliases
| JsonValue[]
| string
| number
| boolean
| null
The type of the result of parsing JSON.
Interfaces
Options for JsonParseStream and
ConcatenatedJsonParseStream.
- readableStrategy: QueuingStrategy<JsonValue>
Controls the buffer of the
TransformStreamused internally. - writableStrategy: QueuingStrategy<string>
Controls the buffer of the
TransformStreamused internally.
Type Aliases
| JsonValue[]
| string
| number
| boolean
| null
The type of the result of parsing JSON.
Classes
Stream to parse Concatenated JSON.
Classes
Parse each chunk as JSON.
Classes
Convert each chunk to JSON string.
Interfaces
Options for JsonStringifyStream.
- prefix: string
Prefix to be added after stringify.
- readableStrategy: QueuingStrategy<string>
Controls the buffer of the
TransformStreamused internally. - suffix: string
Suffix to be added after stringify.
- writableStrategy: QueuingStrategy<unknown>
Controls the buffer of the
TransformStreamused internally.