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 bsolomon1124
Recipients bsolomon1124
Date 2019-08-29.19:17:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567106227.18.0.64278078149.issue37982@roundup.psfhosted.org>
In-reply-to
Content
I propose adding a command line `--minify` flag to the json/tool.py module. 

This flag, if specified, uses `indent=None` and `separators=(',', ':')` to eliminate indent and separator whitespace in the output.

Minifying JSON (as is also done frequently with JS, CSS, and sometimes HTML) is common practice, and would be useful to have as a command-line tool rather than a user needing to use an online resource to do so.
History
Date User Action Args
2019-08-29 19:17:07bsolomon1124setrecipients: + bsolomon1124
2019-08-29 19:17:07bsolomon1124setmessageid: <1567106227.18.0.64278078149.issue37982@roundup.psfhosted.org>
2019-08-29 19:17:07bsolomon1124linkissue37982 messages
2019-08-29 19:17:06bsolomon1124create