https://github.com/zhuyingda/yastjson
yet another fast json.
https://github.com/zhuyingda/yastjson
abstract-syntax-tree ast json json-parser
Last synced: 10 months ago
JSON representation
yet another fast json.
- Host: GitHub
- URL: https://github.com/zhuyingda/yastjson
- Owner: zhuyingda
- License: gpl-3.0
- Created: 2020-03-06T05:01:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-04T13:18:45.000Z (over 5 years ago)
- Last Synced: 2025-02-28T21:16:49.066Z (11 months ago)
- Topics: abstract-syntax-tree, ast, json, json-parser
- Language: JavaScript
- Size: 63.5 KB
- Stars: 19
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yastjson
[](https://badge.fury.io/js/yastjson)
[](https://travis-ci.org/zhuyingda/yastjson)
[](https://codecov.io/gh/zhuyingda/yastjson)
## Overview
Yastjson is **Y**et **A**nother fa**ST** **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](https://github.com/zhuyingda/yastjson)
## 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](http://www.gnu.org/licenses/)
Copyright (c) 2020-present, Yingda (Sugar) Zhu