Commit Graph

5 Commits

Author SHA1 Message Date
a38ad4d64d
json-format.pl: further fixes
- skip_ws() -> gettoken() as it doesn't always skip whitespace
 - add a newline after each top-level token
 - since we've become a streaming parser, GNU parallel may not apply,
   so remove the comment at the top of the file
2017-01-26 01:35:24 +01:00
cd4107b782
json-format.pl: add a --keep-ws switch 2017-01-25 21:13:36 +01:00
18c25e8bff
json-format.pl: make it a streaming formatter
Always pretty-print.
2017-01-25 21:05:38 +01:00
17331073a4
json-format.pl: fix display of empty [] and {} 2017-01-25 19:52:09 +01:00
72a7cbdb1f
Add and install json-format.pl
Seemed somewhat related to what this program does.
2017-01-25 17:51:38 +01:00