Return empty string instead of "null" with "jq --raw-output" ? · Issue #354 · jqlang/jq

I'm doing something like this in a shell script: API_URL=http://whatever while [ "$API_URL" ]; do #....stuff.... API_URL=$(jq -r .pagination.next_url $JSON) done When the key doesn't exist, it retu...