jq cheat sheet extract some fields of objects contained in an array echo '[{"a":1,"b":2,"c":3},{"a":10,"b":20,"c":30}]' | jq '.[] | .a, .b' Notes: use -r to get raw results without quotes for example