dprint / dprint-plugin-json

JSON code formatting plugin for dprint.
https://dprint.dev/plugins/json
MIT License
19 stars 5 forks source link

JSON formatting is super slow on a 700KB single line JSON file #1

Closed dsherret closed 4 years ago

dsherret commented 4 years ago

I provided dprint with a 700KB single line JSON file and there seems to be no end in sight to it finishing formatting. I can't provide the file here because it's proprietary information. I formatted it with VS code rather quickly and it ended up being 40K lines.

Worth noting that after the file was formatted with VSCode it is back to being quick enough again.