Package Exports
- yastjson
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (yastjson) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
yastjson
Yastjson is Yet Another faST JSON, which provide you a high-performaince JSON.parse method instead of the native function in Node.js.
Installation:
npm install yastjson
npm testor
clone github repository
Usage:
const YJSON = require('yastjson');
let jsonString = '{a:1}';
let obj = YJSON.parse(jsonString);
console.log(obj);You will get the object, just like using JSON.parse.