--- title: "@std/json" description: "(Streaming) parsing and serializing of JSON files" jsr: jsr:@std/json pkg: json version: 1.0.3 generated: true stability: stable --- ## Overview
Utilities for parsing streaming JSON data.
```js 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` ]); ``` ### Add to your project ```sh deno add jsr:@std/json ``` See all symbols in @std/json on