a json parse is compacitable with Javascript object literal and comment


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


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.


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}');


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.