jq for JSON
- Pretty-print:
jq . file.json - Select field:
jq '.data.name'; arrayjq '.items[]' - Filter:
jq '.items[] | select(.active==true)' - Transform:
jq '.items | map({id, name})' - Count:
jq '.items | length' - Raw output:
jq -r '.url'(unquoted)
Jq json is an AI agent skill from the GitHub repository ayazelrico/Old-Version-Of-Milyonus-Agent. Query and transform JSON with jq
.claude/skills/jq-json/SKILL.md.cursor/rules/jq-json.md.agents/skills/jq-json/SKILL.mdjq . file.jsonjq '.data.name' ; array jq '.items[]'jq '.items[] | select(.active==true)'jq '.items | map({id, name})'jq '.items | length'jq -r '.url' (unquoted)