// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. /** * Utilities for parsing streaming JSON data. * * ```ts * import { JsonStringifyStream } from "@std/json"; * import { assertEquals } from "@std/assert"; * * const stream = ReadableStream.from([{ foo: "bar" }, { baz: 100 }]) * .pipeThrough(new JsonStringifyStream()); * * assertEquals(await Array.fromAsync(stream), [ * `{"foo":"bar"}\n`, * `{"baz":100}\n` * ]); * ``` * * @module */ export * from "./concatenated_json_parse_stream.ts"; export * from "./types.ts"; export * from "./parse_stream.ts"; export * from "./stringify_stream.ts";