a-json-parser

a json parse is compacitable with Javascript object literal and comment

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
10May 29, 2018May 24, 2018Minified + gzip package size for a-json-parser in KB

Readme

A Tiny JSON Parser That IS Compitable with plain JavaScript Object Literal and JavaScript Comment

The JSON parse can parse JSON text with code annotation.

use

npm install --save a-json-parser

to install it

in your browser you can import jsondecode.min.js via script tag and use

JSONParse('/* an Example */{\'^_^\': 0}');

Enjoy!

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.