Skip to main content
Go to Latest
interface StringifyStreamOptions
import { type StringifyStreamOptions } from "https://deno.land/std@0.158.0/encoding/json/stream.ts";

Optional object interface for JSONStringifyStream.

Properties

readonly
optional
prefix: string

Prefix to be added after stringify. The default is "".

readonly
optional
suffix: string

Suffix to be added after stringify. The default is "\n".

readonly
optional
writableStrategy: QueuingStrategy<unknown>

Controls the buffer of the TransformStream used internally. Check https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream.

readonly
optional
readableStrategy: QueuingStrategy<string>

Controls the buffer of the TransformStream used internally. Check https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream.