This repository shows how to use the rust binding of tree-sitter to load the tree-sitter json grammar.
You can build the project as follows:
// clone the repo and initialize the submodule
$ git clone https://github.com/fkohlgrueber/tree-sitter-example-rust.git --recursive
// change to the rust crates' directory
$ cd tree-sitter-example-rust/my_app/
// build & run using cargo
$ cargo run
If you experience any issues, feel free to open an issue in this repo.