jq error key/0 is not defined when selecting fields with numbers and dashes

If you are trying to select a JSON field with a number or dash, you may get a jq compile error. As mentioned in a GitHub issue, the key gets parsed as a substraction so we need to enclose it in additional quotes.

Add comment