• TOC
  • Using bag to implement a sort-free version of unique
  • Find the maximal elements of an array or stream
  • Using jq as a template engine
  • Using jq variables as template variables
  • Using jq accessors as template variables
  • Arbitrary strings as template variables
  • Summary
  • Emit the ids of JSON objects in a Riak database
  • Filter objects based on the contents of a key
  • Filter objects based on tags in an array
  • Selecting all items that do NOT have a specific tag
  • Find the most recent object in an S3 bucket
  • Sort by numeric values extracted from text
  • Add an element to an object array
  • Zip column headers with their rows
  • Explanation
  • Delete elements from objects recursively
  • Extract Specific Data for While Loop in Shell Script
  • Extract data and set shell variables
  • Convert a CSV file with Headers to JSON
  • Processing a large number of lines or JSON entities
  • Processing huge JSON texts
  • (a) a single JSON object with no arrays
  • (b) A JSON object with a single key that is a flat array
  • List keys used in any object in a list
  • Include or import a module and call its functions
  • Example 1: ~/.jq/library/library.jq
  • Example 2: ~/jq/library.jq
  • Remove adjacent matching elements from a list
  • Parse ncdu output (WIP)