dabase.com → Kai's Tech Tips → Shell → JSON to 100 JSON to 100 Published: Wednesday, May 3, 2017 Last modified: Saturday, Mar 22, 2025 echo {1..100} | jq -s '[.[]|{id:.,"foo":"bar"}]' ←Previous Next→