2 ms·
Does anyone know of a tool like ranger[1] for visualizing JSON on the terminal? There is a Chrome Extension[2], but nothing useful to browse JSON on the termina
by fiatjaf 11y ago
Does anyone know of a tool like ranger[1] for visualizing JSON on the terminal? There is a Chrome Extension[2], but nothing useful to browse JSON on the terminal (it doesn't have to be like ranger, I'm looking for any tool that makes it easier to take a look at a JSON file).
[1]: https://github.com/hut/ranger
[2]: https://chrome.google.com/webstore/detail/json-finder/flhdcaebggmmpnnaljiajhihdfconkbj
- xrstf 11y agojq can pretty print JSON files, including coloring.
- theophrastus 11y agonot "like ranger" yet emacs has an extensive library to edit, highlight, and tidy various data formats (XML, HTML, yaml), and json is no exception: https://github.com/thorstadt/json-pretty-print.el https://github.com/thorstadt/json-pretty-print.el
- Tiksi 11y agoIf you use vim there's https://github.com/elzr/vim-json https://github.com/elzr/vim-json which gives you folding, highlighting, etc.