Update JSON using jq command


Update JSON file using jq command

cat app.json | jq --arg environment "VVPAT" --arg test "0102023" '.myapp.configuration.labels += {environment: $environment, test:$test}'  > modified_app.json