+
Skip to content

mnz8fork/momoa

 
 

Repository files navigation

Momoa JSON

by Nicholas C. Zakas

If you find this useful, please consider supporting my work with a donation.

About

Momoa is a general purpose JSON utility toolkit for JavaScript and Rust. There are two different packages in this repository:

  • js - the JavaScript package
  • rust - the Rust crate

These two packages are not directly linked but they do produce the same AST and so they are kept in sync using a monorepo.

Development

To work on Momoa, you'll need:

Make sure all three are installed by visiting the links and following the instructions to install.

Now you're ready to clone the repository:

git clone https://github.com/humanwhocodes/momoa.git

Follow the instructions in the README in each directory for how to work on that package.

Acknowledgements

This project takes inspiration (but not code) from a number of other projects:

  • Esprima inspired the package interface and AST format.
  • json-to-ast inspired the AST format.
  • parseJson.js inspired me by showing writing a parser isn't all that hard.

License

Apache 2.0

About

A JSON parser, tokenizer, traverser, and printer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.5%
  • Rust 30.0%
  • TypeScript 2.5%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载