Module

std/json/mod.ts>StringifyStreamOptions

The Deno Standard Library
Go to Latest
interface StringifyStreamOptions
import { type StringifyStreamOptions } from "https://dotland.deno.dev/std@0.223.0/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 {@link TransformStream} used internally.

readonly
optional
readableStrategy: QueuingStrategy<string>

Controls the buffer of the {@link TransformStream} used internally.