Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/javiercbk/json_ast
https://github.com/javiercbk/json_ast
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/javiercbk/json_ast
- Owner: javiercbk
- License: unlicense
- Created: 2019-07-28T15:28:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-01T06:17:21.000Z (almost 3 years ago)
- Last Synced: 2024-04-09T21:18:01.500Z (9 months ago)
- Language: Dart
- Size: 50.8 KB
- Stars: 3
- Watchers: 1
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# json_ast
[![Build Status](https://travis-ci.org/javiercbk/json_ast.svg?branch=master)](https://travis-ci.org/javiercbk/json_ast)
A forgettable port of [this javascript library](https://github.com/vtrushin/json-to-ast). It is not elegant, it doesn't bring any pride to humanity.
Builds the AST (Abstract Syntax Tree) of a JSON string.
## The good
* It works.
* It is battle tested.
* It could be worse (like not having anything at all).## The bad
This library is a port from an existing javascript library. I wanted it to work but I wasn't aiming for perfection, that means:
* Types are flimsy
* Algorithms are not a jewel of modern programming.
* I ported this library to use only one feature.## The ugly
* I would re-write the whole thing if I had any serious interest in this.