Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSONText

license npm version jsr version

JSONText is a low-level, incremental UTF-8 JSON decoder and encoder for token-level processing, selective extraction, and Web Streams pipelines.

Installation

JSR

deno add jsr:@lcweden/jsontext
import { JSONTextSelectorStream } from "@lcweden/jsontext";

npm

npm install jsontext
import { 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.

API

See the JSR API reference for constructors, methods.

License

This project is licensed under the MIT License.

Acknowledgements

This project is inspired by Go's encoding/json/jsontext standard library package and .NET's System.Text.Json.

About

A state machine for incremental JSON processing.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages