3 ms·
Since it's a JSON tool, I wish it leaned more on JavaScript syntax. In this case I wish it was || or even better, ??
by city41 3y ago
Since it's a JSON tool, I wish it leaned more on JavaScript syntax. In this case I wish it was || or even better, ??
- llimllib 3y agoI suspect they didn't use || because it makes parsing easier, given jq's reliance on the pipe operator. It doesn't use ?? because it predates that operator's introduction into the language by about 8 years