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