You can avoid using awk with extend of jq command to jq '[.[].paid] | reduce .[] as $item (0; . + $item) / 1000000', the result will be in USD.
1 Like
You can avoid using awk with extend of jq command to jq '[.[].paid] | reduce .[] as $item (0; . + $item) / 1000000', the result will be in USD.