This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients dhimmel, methane, serhiy.storchaka
Date 2017-03-03.17:43:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488563027.39.0.364654132543.issue29636@psf.upfronthosting.co.za>
In-reply-to
Content
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=(',', ':'))"
History
Date User Action Args
2017-03-03 17:43:47serhiy.storchakasetrecipients: + serhiy.storchaka, methane, dhimmel
2017-03-03 17:43:47serhiy.storchakasetmessageid: <1488563027.39.0.364654132543.issue29636@psf.upfronthosting.co.za>
2017-03-03 17:43:47serhiy.storchakalinkissue29636 messages
2017-03-03 17:43:47serhiy.storchakacreate