Message350821
Since, as you point out, json.tool is made for convenience, I see the reverse of pretty-printing (minifying) being just as convenient:
$ cat > expanded.json <<EOF
> {
> "foo": "bar",
> "json": "obj"
> }
> EOF
$ ./python.exe -m json.tool --minify expanded.json minf.json
$ cat minf.json
{"foo":"bar","json":"obj"} |
|
Date |
User |
Action |
Args |
2019-08-29 19:52:06 | bsolomon1124 | set | recipients:
+ bsolomon1124, rhettinger |
2019-08-29 19:52:06 | bsolomon1124 | set | messageid: <1567108326.92.0.195943011967.issue37982@roundup.psfhosted.org> |
2019-08-29 19:52:06 | bsolomon1124 | link | issue37982 messages |
2019-08-29 19:52:06 | bsolomon1124 | create | |
|