Parse JSON with super way even if the key is not a string
$ npm install --save json-superparser
const parseJson = require('json-superparser');
const json = '{"foo": true, age: 18 }';
console.log(parseJson(json).age);
/*
18
*/
Type: string
Parse JSON with super way even if the key is not a string
$ npm install --save json-superparser
const parseJson = require('json-superparser');
const json = '{"foo": true, age: 18 }';
console.log(parseJson(json).age);
/*
18
*/
Type: string
npm i json-superparser
1
0.0.4
MIT