liquid-json

0.3.1 • Public • Published

liquid-json

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

usage

$ npm install liquid-json --save;
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

Versions

Current Tags

Version History

Package Sidebar

Install

npm i liquid-json

Weekly Downloads

630,520

Version

0.3.1

License

Apache-2.0

Last publish

Collaborators

  • shamasis
  • codenirvana