Skip to main content

@std/json@0.215.0

latest
Works with
It is unknown whether this package works with Node.js, Deno, Browsers, Cloudflare Workers, Bun
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Bun
JSR Score70%
Published2 years ago (0.215.0)
default

Utilities for parsing streaming JSON data.

Classes

c
ConcatenatedJsonParseStream(unnamed 0?: ParseStreamOptions)

Stream to parse Concatenated JSON.

  • readable: ReadableStream<JsonValue>

    A readable stream of byte data.

  • writable: WritableStream<string>

    A writable stream of byte data.

c
JsonParseStream(unnamed 0?: ParseStreamOptions)

Parse each chunk as JSON.

c
JsonStringifyStream(unnamed 0?: StringifyStreamOptions)

Convert each chunk to JSON string.

Interfaces

I

Options for JsonParseStream and ConcatenatedJsonParseStream.

I

Options for JsonStringifyStream.

Type Aliases

T
JsonValue =
{ [key: string]: JsonValue | undefined; }
| JsonValue[]
| string
| number
| boolean
| null

The type of the result of parsing JSON.

common

Interfaces

I

Options for JsonParseStream and ConcatenatedJsonParseStream.

Type Aliases

T
JsonValue =
{ [key: string]: JsonValue | undefined; }
| JsonValue[]
| string
| number
| boolean
| null

The type of the result of parsing JSON.

concatenated_json_parse_stream

Classes

c
ConcatenatedJsonParseStream(unnamed 0?: ParseStreamOptions)

Stream to parse Concatenated JSON.

  • readable: ReadableStream<JsonValue>

    A readable stream of byte data.

  • writable: WritableStream<string>

    A writable stream of byte data.

json_parse_stream

Classes

c
JsonParseStream(unnamed 0?: ParseStreamOptions)

Parse each chunk as JSON.

json_stringify_stream

Classes

c
JsonStringifyStream(unnamed 0?: StringifyStreamOptions)

Convert each chunk to JSON string.

Interfaces

I

Options for JsonStringifyStream.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.