Skip to content

lwd426/json-superparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published