Differences
This shows you the differences between two versions of the page.
| jq [2020/02/25 08:52] – created tom | jq [2020/02/25 08:53] (current) – tom | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Filtering an array of objects where the '' | Filtering an array of objects where the '' | ||
| - | cat profiles.json | jq -c '.[] | select(.user_id | contains(2199)) | .username' | + | cat profiles.json | jq -c -r '.[] | select(.user_id | contains(2199)) | .username' |