json-superparser

0.0.4 • Public • Published

json-superparser

Parse JSON with super way even if the key is not a string

Install

$ npm install --save json-superparser

Usage

const parseJson = require('json-superparser');
const json = '{"foo": true, age: 18 }';

console.log(parseJson(json).age);
/*
   18
*/

API

json-superparser(input, [reviver], [filename])

input

Type: string

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.40latest
0.0.30modified
0.0.10init

Version History

VersionDownloads (Last 7 Days)Published
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i json-superparser

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • lwd426