LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jiq

Interactive JSON query tool using jq expressions

TLDR

Query JSON from stdin
$ echo '[1, 2, 3]' | jiq
copy
Query a JSON file
$ cat [path/to/file.json] | jiq
copy
Query from a curl response
$ curl -s [https://api.example.com/data] | jiq
copy

SYNOPSIS

jiq < jsoninput_

DESCRIPTION

jiq is an interactive JSON query tool that uses jq filter expressions. It reads JSON from stdin and provides a terminal interface where you can type jq queries and see the results update in real time as you type. This makes it easy to explore and drill down into complex JSON structures incrementally.jiq requires jq to be installed and available in your PATH, as it delegates query execution to jq.

INSTALL

nix profile install nixpkgs#jiq
copy

CAVEATS

Requires jq to be installed separately. Only reads from stdin; cannot open files directly. The entire JSON input is loaded into memory.

HISTORY

jiq was created by fiatjaf and is written in Go. It was inspired by jid (JSON incremental digger) but uses jq's query syntax instead of a custom one.

SEE ALSO

jq(1), fx(1), jaq(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid