Skip to content

rasom/json-navigator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-navigator

Build Status Coverage Status

Summary

Display any JSON document as a tree by typing M-x json-navigator-navigator. Here is a screencast showing the navigation tree of an example JSON document.

media/json-tree-anime.gif

This project is made possible thanks to the hierarchy project.

Installing

Use melpa.

Using

Move point before a JSON document and type M-x json-navigator-navigate-after-point, alternatively select a JSON region and invoke 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, Tab and 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.

Contributing

Yes, please do! See CONTRIBUTING for guidelines.

License

See COPYING. Copyright (c) 2017 Damien Cassou.

About

View and navigate JSON structures

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 96.4%
  • Makefile 3.6%