jq is a small functional language for JSON: a program is a filter that takes one JSON document and emits zero, one, or many values. Learning it is mostly learning the handful of shapes below, then composing them.
The first half of this tutorial is generic jq. The second half is a running
example in Nushell: a question about a running TUIOS daemon is answered by
reshaping tuios ls --json, and a question about its git worktrees by
reshaping tuios worktree ls --json.
