Message288905
The discussion is scattered between different tracker issues and pull requests. Let continue it in one place.
I don't think we should add too much options for controlling any little detail. json.tools is just small utility purposed mainly for debugging. If you need to control more details, it is not hard to write simple Python script.
For example, for "compact" output:
$ python3 -c "import sys, json; json.dump(json.load(sys.stdin), sys.stdout, separators=(',', ':'))" |
|
Date |
User |
Action |
Args |
2017-03-03 17:43:47 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, methane, dhimmel |
2017-03-03 17:43:47 | serhiy.storchaka | set | messageid: <1488563027.39.0.364654132543.issue29636@psf.upfronthosting.co.za> |
2017-03-03 17:43:47 | serhiy.storchaka | link | issue29636 messages |
2017-03-03 17:43:47 | serhiy.storchaka | create | |
|