Quantcast
Channel: Active questions tagged jq - Stack Overflow
Viewing all articles
Browse latest Browse all 657

How to remove double-quotes in jq output for parsing json files in bash?

$
0
0

I'm using jq to parse a JSON file as shown here. However, the results for string values contain the "double-quotes" as expected:

$ cat json.txt | jq '.name'"Google"

How can I pipe this into another command to remove the ""?

$ cat json.txt | jq '.name' | other_commandGoogle

Viewing all articles
Browse latest Browse all 657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>