0.0.4 • Published 7 years ago

json-superparser v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago