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

Share this

Related Posts

Previous
Next Post »

What do you think about this Article? Add your Opinion..! EmoticonEmoticon