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