Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Latest commit

 

History

History
10 lines (5 loc) · 277 Bytes

jq.md

File metadata and controls

10 lines (5 loc) · 277 Bytes

JQ

FAQ

jq: error (at <stdin>:2695): Cannot index array with string "..."

You're trying to select a field on an array, upack the array first. For example: Instead of doing cat images.json | jq '.images' , do cat images.json | jq '.[].images

@json @shell @jq