jq
Get value without quotes
By default all output strings from jq will be surrounded by double quotes ""
.
Add the -r
or --raw-output
flag to emit raw strings as output.
$ echo '{"id":"abc"}' | jq -r '.id'
Send an email to: lammers@gmail.com.
Or find me online at: Github, X
By default all output strings from jq will be surrounded by double quotes ""
.
Add the -r
or --raw-output
flag to emit raw strings as output.
$ echo '{"id":"abc"}' | jq -r '.id'