Add key:value pairs to JSON object in Bash
I would like to add a number of key:value pairs to an existing JSON string. The values are passed as command line arguments to my script. So far I've got this data='{"update": { "labels": [] } }' for label in…