odgn-json
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

odgn-json

An through pull-stream that converts incoming string data into a stream of JSON objects and arrays - concatenated JSON.

Because the world needs more JSON parsers.

Usage

import { parse } from 'odgn-json';

const src = `{
    # TL;DR
    fancy:   odgn-json
    machine: JSON
}`;

const result = parse(src);


Related

https://en.wikipedia.org/wiki/JSON_Streaming

https://github.com/chrisdickinson/json-parse-stream

https://github.com/dominictarr/JSONStream

https://github.com/indutny/json-depth-stream

https://github.com/creationix/jsonparse

https://github.com/pull-stream/pull-stream/blob/master/docs/spec.md

Readme

Keywords

none

Package Sidebar

Install

npm i odgn-json

Weekly Downloads

46

Version

1.0.2

License

MIT

Unpacked Size

206 kB

Total Files

16

Last publish

Collaborators

  • odogono