Interactive TUI JSON viewer with tree navigation, expand/collapse functionality, and real-time filtering.
- 🌳 Tree-based JSON navigation
- ⌨️ Vim-style keyboard shortcuts
- 🔍 Real-time JSON filtering
- 📁 Support for large JSON files
- 🎨 Syntax highlighting
- 🔄 Expand/Collapse nodes
go install github.com/cksidharthan/lazyjson@latest
Or build from source:
git clone https://github.com/cksidharthan/lazyjson.git
cd lazyjson
go build
# View a JSON file
lazyjson data.json
# View JSON from a URL
curl https://api.example.com/data.json > data.json && lazyjson data.json
↑/k
: Move cursor up↓/j
: Move cursor downEnter/Space
: Expand/Collapse nodeh
: Collapse nodel
: Expand nodeq
: Quit
Type to filter JSON nodes in real-time. The filter supports:
- Exact matches
- Partial matches
- Case-insensitive search
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE for details