我可以输出6点钟的价格
jq '.energy | .todayHours | .[6] | .priceIncludingVat' < "$JSON"
我如何获得实际时间的价格?我不知道如何将$小时的值插入JQ查询而不是“ 6”
非常感谢!
--argjson