Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.16 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.16 KB

yastjson

npm version Build Status codecov

Overview

Yastjson is Yet Another faST JSON, which provide you a second choice of JSON.parse method instead of the native function in Node.js.

Installation

npm install yastjson

npm test

or

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.

Design

Token Definition

Lexical Analysis

Syntactic Analysis

License

GPL-V3

Copyright (c) 2020-present, Yingda (Sugar) Zhu