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 legnaleurc
Recipients legnaleurc
Date 2016-06-29.11:49:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467200969.47.0.983958211319.issue27413@psf.upfronthosting.co.za>
In-reply-to
Content
This patch adds a command line option "--no-escape" that allows json.tool to display non-ASCII characters.

e.g.:

$ echo '"測試"' | python -m json.tool
"\u6e2c\u8a66"

$ echo '"測試"' | python -m json.tool --no-escape
"測試"
History
Date User Action Args
2016-06-29 11:49:29legnaleurcsetrecipients: + legnaleurc
2016-06-29 11:49:29legnaleurcsetmessageid: <1467200969.47.0.983958211319.issue27413@psf.upfronthosting.co.za>
2016-06-29 11:49:29legnaleurclinkissue27413 messages
2016-06-29 11:49:29legnaleurccreate