Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pklo
· 6y ago · 0 comments
The second example didn't work for jq-1.6 ---I had to write it as
jq -n --arg key foo --arg val bar '{($key): $val}'
Comments
[–]
chriswarbo
6y ago
Yes you're right. I spotted it myself, but only after I couldn't edit anymore :(