JSONText is a low-level, incremental UTF-8 JSON decoder and encoder for token-level processing, selective extraction, and Web Streams pipelines.
deno add jsr:@lcweden/jsontextimport { JSONTextSelectorStream } from "@lcweden/jsontext";npm install jsontextimport { JSONTextSelectorStream } from "jsontext";JSONText is ESM-only. The core APIs use Uint8Array chunks and work in modern JavaScript runtimes.
The *Stream APIs require WHATWG Streams support.
See the JSR API reference for constructors, methods.
This project is licensed under the MIT License.
This project is inspired by Go's
encoding/json/jsontext standard library package and
.NET's
System.Text.Json.