Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface StringifyStreamOptions
import { type StringifyStreamOptions } from "https://deno.land/std@0.220.1/json/mod.ts";

Options for JsonStringifyStream.

Properties

readonly
optional
prefix: string = ""

Prefix to be added after stringify.

readonly
optional
suffix: string = "\n"

Suffix to be added after stringify.

readonly
optional
writableStrategy: QueuingStrategy<unknown>

Controls the buffer of the TransformStream used internally.

readonly
optional
readableStrategy: QueuingStrategy<string>

Controls the buffer of the TransformStream used internally.