About

About

Copy-paste jq one-liners — by someone who pipes JSON through the terminal all day and got tired of re-deriving the same filters.

jq is the standard tool for slicing JSON on the command line, but its syntax is easy to forget. This site collects the filters that actually come up into one library — each with the filter, sample input, and exact output, so you can verify it before running it.

Recipes target jq 1.6 and 1.7+, and note when a builtin is version-specific.

Open the full interactive site ↗