json_ast 1.0.6 copy "json_ast: ^1.0.6" to clipboard
json_ast: ^1.0.6 copied to clipboard

A library that builds the abstract syntax tree for a JSON string.

json_ast #

Build Status

A forgettable port of this javascript library. 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.
3
likes
95
pub points
73%
popularity

Publisher

unverified uploader

A library that builds the abstract syntax tree for a JSON string.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Unlicense (LICENSE)

Dependencies

grapheme_splitter

More

Packages that depend on json_ast