Interactive TUI JSON viewer.
- Folding
- Syntax highlighting
- Vim navigation and motions
- Relative line numbers
Run this command to load a JSON file:
vj file.jsonOr pipe JSON data into vj:
echo '{"helo": "world"}' | vjh or ← - fold JSON object or array
l or → - unfold JSON object or array
j or ↓ - move cursor down
k or ↑ - move cursor up
5j - move cursor 5 lines down from current position
5k - move cursor 5 lines up from current position
g - move cursor to the first line of the document
G - move cursor to the last line of the document
: - Switch to commands mode
:. - Find path in JSON for example :.users[0].email
:q - Close vj