jq: get property value without quotes

by default, jq gives you the value of a string json property within quotes. To avoid that the “-r” option is applied

https://stackoverflow.com/questions/44656515/how-to-remove-double-quotes-in-jq-output-for-parsing-json-files-in-bash

jq -r ".stack" ./node_modules/@werm-fw-templates/$service/package.json`

Leave a Reply

Your email address will not be published.