Using this page https://meimporta.eu/tree-sitter/json2ebnf.html we can get a navigable railroad diagram for tree-sitter grammars like this project. See also https://github.com/tree-sitter/tree-sitter/issues/2268 . Cheers !