Issue 31216: Add ensure_ascii argument to json.tool
Created on 2017-08-16 05:46 by qingyunha, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| jsontool.patch | qingyunha, 2017-08-16 05:46 | |||
| Messages (2) | |||
|---|---|---|---|
| msg300327 - (view) | Author: TaoQingyun (qingyunha) * | Date: 2017-08-16 05:46 | |
Sometimes I want this ``` $ echo -e '"\xe4\xbd\xa0\xe5\xa5\xbd"' | ./python -m json.tool --no-escape "你好" ``` not just ``` $ echo -e '"\xe4\xbd\xa0\xe5\xa5\xbd"' | ./python -m json.tool "\u4f60\u597d" ``` |
|||
| msg300353 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2017-08-16 12:21 | |
This is a duplicate of issue 27413. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:50 | admin | set | github: 75399 |
| 2017-08-16 12:21:46 | r.david.murray | set | status: open -> closed superseder: Add an option to json.tool to bypass non-ASCII characters. nosy:
+ r.david.murray |
| 2017-08-16 05:46:56 | qingyunha | create | |
