I really appreciate this "small" peace of software called #jq Took me a while to understand the syntax rules but now it is pure joy whenever I have to use it. Other honorable mentions in this bag of enjoyable tools are #xq, #jless and the daily driver #curl. CLI ftw.

https://jqlang.org/

jq

jq is a lightweight and flexible command-line JSON processor

My tool of the day already: #jless. Does exactly what I wished for, which is interactive display, coloured pretty printing, folding away/collapsing irrelevant nodes, regex enabled search and giving me context by revealing the path of the selected node inside the structure.

Oh, and it's written in #Rust btw 🤓
https://jless.io/

jless - A Command-Line JSON Viewer

jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.

@anders My usual go-to for understanding #JSON is #jless (https://jless.io/), which is just a simple viewer that allows collapsing objects and arrays, but that's generally all I find myself needing. Depending on how you want to visualize it, you might or might not find that useful.
jless - A Command-Line JSON Viewer

jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.

@rpl @jpmens @dirksteins #jless looks awesome. Pity there seems to be no Debian package 😟

Мало ли кто ещё не пользовался, но для всяческой несложной обработки JSON есть мощная вундервафля под названием #jq: https://stedolan.github.io/jq/

Так вот сегодня я нашёл близкую по духу штуку, но интерактивную – #jless: https://jless.io/

Легко, хоть и долго [ибо из исходников], ставится в #Termux:
pkg install rust && pkg install binutils && cargo install jless
И тач-управление прямо-таки торт: работают тапы по сворачивающим стрелочкам и скроллинг перетаскиванием.

На скрине мой профиль на этом инстансе в JSON-LD:
```
curl -H "Accept: application/activity+json" https://mastodon.ml/@dside | jless
```

#unix #json #tools #rust #commandline

Redirecting to jqlang.github.io

@gnulinux So far I only knew #jq and loved it. I'm adding #jless and #jo to my arsenal.