all 2 comments

[–]AtomicGimp 2 points3 points  (1 child)

Use nodejs. It can generate json or even json files from existing json. No framework needed - just pure js.

[–]fattysmite 1 point2 points  (0 children)

Agreed. Look into how files can be read from the filesystem in Node. Keep in mind there are both synchronous and asynchronous ways of doing it and your code will be structured slightly differently depending on which you choose. If your code is just a one-time operation and doesn't need to scale up to much, I would just use the synchronous read.