Get unlimited public & private packages + team-based management with npm Teams.Learn more »

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

Install

npm i liquid-json

DownloadsWeekly Downloads

140,981

Version

0.3.1

License

Apache-2.0

Last publish

Collaborators

  • avatar
  • avatar