공부
[jq] concat fields `curl … | jq -r '.data[] | .name + " " + .id'`
승가비
2023. 1. 5. 01:58
728x90
curl … | jq -r '.data[] | .name + " " + .id'
how to get multiple values from a json array/object using jq
how to get multiple values from a JSON array/object using jq in a single line? here curl request and its response curl -s -k --location --request GET "https://${HOSTNAME}/api/v1/projects/myPro...
stackoverflow.com
https://www.ashbyhq.com/blog/engineering/jq-and-yq
Querying JSON and XML with jq and xq | Ashby
Building people software for high growth companies.
www.ashbyhq.com
728x90