jsonfui
jsonfui is an interactive command-line JSON viewer. Examples
Installation
Download Binary
Download latest release from GitHub (does not require node.js).
npm Release
Or, install via npm (requires node.js):
npm install -g jsonfui
Usage
To start jsonfui, pass a filename to it:
jsonfui /path/to/file.json
You can also read from stdin instead of a file:
curl -s https://api.github.com/users/adrianschneider/repos | jsonfui
When the application is open, you are in an interactive blessed-powered navigator.
Hotkeys (vim mode)
j
: down
k
: up
h
: go back/up one level
l
: enter (open node)
<Enter>
: enter (open node)
y
or c
: copy current value to clipboard
-
: toggle expansion
/
: search for string recursively
*
: search for value under cursor
n
: next search result at current depth
N
: prev search result at current depth
<space>
: clear highlight