All books

./jq Pocket Reference

by Alan Bradley

A concise, practical guide to jq - the lightweight command-line JSON processor. Whether you're parsing API responses, transforming data files, or building shell pipelines, this pocket reference gives you everything you need to master jq's powerful filter syntax and become productive immediately.

Table of Contents

  1. 1 Introduction
  2. 2 Command-Line Options
  3. 3 Basic Filters
  4. 4 Types and Values
  5. 5 Operators
  6. 6 Conditionals and Comparisons
  7. 7 Array Operations
  8. 8 Object Operations
  9. 9 String Functions
  10. 10 Path Expressions
  11. 11 Reduce and Recursion
  12. 12 Defining Functions
  13. 13 Input/Output
  14. 14 Common Recipes
  15. 15 Quick Reference Tables