1
0
mirror of synced 2025-12-15 10:52:19 +08:00
Files
jsonlint-mod/lib/formatter.js
Lance Roggendorff 92ac817d17 Adding forceformat option: format invalid output just like jsonlint.com
When using jsonlint.com, even invalid JSON is pretty printed. It seemed
like a good option to have in the cli version as well. This is simply
inserting the char-by-char formatter from
https://github.com/umbrae/jsonlintdotcom and adding an option to cli.js.
2012-09-12 23:11:11 -05:00

2.7 KiB