Thanks in advance for taking a look at this. I have constructed a working jq filter with the help of other Stack Overflow threads but I can't get it working in my windows terminal
Here it is directly from jqplay:
jq '.objects[ ] | "\(.id) \(.batch_fields.SJNB)"'
Here is what I have unsuccessfully tried thus far:
jq '.objects[ ] | "\(.id) \(.batch_fields.SJNB)"' file.json
jq ".objects[ ] | "\(.id) \(.batch_fields.SJNB)" file.json"
jq .objects[ ] | "\(.id) \(.batch_fields.SJNB) file.json
It's clear that it's a problem with quoting or not quoting and I can get more simple commands to work such as:
jq-win64.exe .objects[].id Row0.json
But I can't seem to crack the issue for the more complicated one.
Thanks, Jason