Display any JSON document as a tree by typing
json-navigator-navigator. Here is a screencast showing the navigation
tree of an example JSON document.
This project is made possible thanks to the hierarchy project.
Move point before a JSON document and type
json-navigator-navigate-after-point, alternatively select a JSON region and
M-x json-navigator-navigate-region. This will open a new buffer
where you can navigate the JSON hierarchy.
The available keybindings in the
*hierarchy tree* buffer are the standard
Emacs tree widget ones,
shift-Tab will move on the tree, and
Enter will expand/collapse nodes. The mouse can also be used to
expand/collapse nodes by clicking on them.
Tree mode, if installed, can be activated in the JSON navigator
*hierarchy-tree* buffer to allow for additional functionality like expanding
whole subtrees, navigating to siblings and so on.
Yes, please do! See CONTRIBUTING for guidelines.