jq
jq '.fruit.color,.fruit.price' fruit.jsonIterating over arrays
# select all from an array with []
jq '.[]' fruits.json
jq '.[].name' fruits.json
jq '.[1].price' fruits.json
# slices
echo '[1,2,3,4,5,6,7,8,9,10]' | jq '.[6:9]'Built-in Functions
- length 
- keys - jq '.fruit | keys' fruit.json
- min, max 
map
jq '.users | map(.age + 1)' data.jsonselect
jq '.users | map(select(.city == "New York"))' data.json