Re-formatting and editing too large JSON file

1.3k Views Asked by At

I have a very large JSON file (83 MB) with more than 200,000 rows and it has an fundamental error that's no commas between each object because the all of objects not in array and it's look like that: non-formatted status

I need a way to edit the hole of rows in the file (not manually) because current status of the file hinders the process of parsing, and i want it to be like that: formatted status

1

There are 1 best solutions below

0
Binayak Das On

You have couple of options like you can split the file online using online file splitter. And then you can use VScode to format it.

Or else you can use https://www.json-buddy.com/json-editor-download.htm

This tool to open large json file and format as you want.