Create pages from JSON files with Eleventy

A few days ago Katherine asked : in Eleventy, is there a way to generate pages from separate data (like person-a.json , person-b.json , …) instead of single data file with all the data. Right after seeing the question, I wrote up a JS script which reads all JSON files in a specified folder, combines them into an array and passes them as data to Eleventy. I had the feeling I was going against the…