Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn’t it:

  .tags | to_entries | map(select(.value[] == "tag:primary") | .key))
This took me a little while as I wasn’t at a computer so I couldn’t build the query interactively.

I think the big advantage jq has is that ChatGPT can generate filters from English descriptions.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: