Open cdhanna opened 4 months ago
This would be very helpful for editing those JSON files with vim
or any line-oriented editor, really. JSON is already such a byte-inefficient format that adding whitespace shouldn't be a performance concern.
this is already done in 2.0; can backport to 1.19.x
The beam tool generates several different json config files, but it doesn't pretty-print them on disk. It isn't a good sign, but sometimes these files need manual intervention by a developer, and that process is exacerbated by the fact the json is minified by default.
There isn't a "good" reason not to pretty-print these files all the time from the CLI.