The Setup
If you work with JSON APIs, configs, or log processing, you have probably used jq in a shell script. It is solid. But there are a few edge cases that trip people up regularly — things that work fine in tests but break in production.
Here is what I have run into.
The Problem: Null vs. Missing Keys
Say you have JSON like this:






