Increase a numeric value in place.
Section: Filters and Conditions
Increment numeric field
bash
bash
echo '{"count":5}' | jq '.count += 1'Explanation
Arithmetic update operators work on matching scalar types.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Filters and Conditions