This release is 2 versions behind 1.0.2 — the latest version of @std/json. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Works with
•JSR Score100%•This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




Downloads2,454/wk
•Published2 years ago (1.0.0-rc.3)
(Streaming) parsing and serializing of JSON files
Utilities for parsing streaming JSON data.
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` ]);
Built and signed on
GitHub Actions
Add Package
deno add jsr:@std/json
Import symbol
import * as json from "@std/json";
Import directly with a jsr specifier
import * as json from "jsr:@std/json";
Add Package
pnpm i jsr:@std/json
pnpm dlx jsr add @std/json
Import symbol
import * as json from "@std/json";
Add Package
yarn add jsr:@std/json
yarn dlx jsr add @std/json
Import symbol
import * as json from "@std/json";
Add Package
vlt install jsr:@std/json
Import symbol
import * as json from "@std/json";
Add Package
npx jsr add @std/json
Import symbol
import * as json from "@std/json";
Add Package
bunx jsr add @std/json
Import symbol
import * as json from "@std/json";