Parse JSON
jq '.key' file.json
jq '.data[0]' file.json
jq '.users[] | .name' file.jsonFilter
jq '.[] | select(.age > 18)' file.json
jq 'map(select(.active == true))' file.jsonTransform
jq '{ name: .fullName, age: .userAge }' file.json
Common mistakes / Errores comunes
- People often copy a command or pattern without adapting placeholders, which can break production workflows unexpectedly.
- It is easy to forget environment-specific differences, so always verify behavior in your shell, runtime, or API gateway before shipping.
- Many errors come from skipping small validation steps, so test with realistic sample input before relying on the result.
Last updated: February 2026