Show pagesourceOld revisionsBacklinksBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditRecent ChangesSend via e-MailPrintPermalink × jq Filtering an array of objects where the user_id is 2199 and outputting just the username key: cat profiles.json | jq -c -r '.[] | select(.user_id | contains(2199)) | .username' jq.txt Last modified: 2020/02/25 08:53by tom