create a new .JSON file with specific values


echo '{}' | jq '.key1|="value1"|.key2|="value2"' >newfile.json

Date: 2016-08-09

Tags:  json

Share: