jq deals in filters for JSON. "." is the simplest filter which returns everything1.

Filters allow you to access JSON information as though {..} is an object.

.[] allows you to perform array operations. For example, getting the third element in an array: .[3] . .[] gets all the elements in an array.

  • htmlq is a library for jq like functionality in HTML
  • fq jq for binary files
  • rq - record analysis and transformation (multi format)
  • yq - jq for YAML

1. Bell, A. An Introduction to JQ. (2021).