# liquid-json

> Implementation of JSON that ignores BOM and thows friendly error

Latest version **0.3.1** (published 2016-09-26) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install liquid-json
pnpm add liquid-json
yarn add liquid-json
bun add liquid-json
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2016-09-26 |
| First published | 2016-08-24 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Postman Labs |
| Maintainers | czardoz, elssar, postman, shamasis |
| Keywords | json, parse, error, friendly, bom, postman |

## Links

- npm: https://www.npmjs.com/package/liquid-json
- Repository: https://github.com/postmanlabs/liquid-json
- Homepage: https://github.com/postmanlabs/liquid-json#readme
- Issues: https://github.com/postmanlabs/liquid-json/issues
- npm.io page: https://npm.io/package/liquid-json

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.3.1 (latest) — 2016-09-26
- 1.0.0-beta.1 (beta) — 2018-08-20
- 0.3.0 — 2016-09-13
- 0.2.0 — 2016-08-24
- 0.1.0 — 2016-08-24

## README

# liquid-json

Implementation of `JSON` which ignores BOM and shows more detailed error messages on parse failures.

## usage

```terminal
$ npm install liquid-json --save;
```

```javascript
var LJSON = require('liquid-json');
LJSON.parse('{ "hello": "world" }');
LJSON.stringify({ hello: 'world' });
```

`LJSON.parse` accepts `reviver` function as second parameter and `LJSON.stringify` accepts standard JSON parameters.
All errors raised from this module has error name as `JSONError`.

## attributions

- https://github.com/rlidwka/jju
- https://github.com/ariya/esprima

---
_Source: https://npm.io/package/liquid-json · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
