Message350457
I tried something like this:
```python
print(r'{"foo": "\\\""}')
print('{"foo": "\\\""}')
print(json.loads(r'{"foo":"\\\""}'))
```
On my machine it output like this:
```
{"foo": "\\\""}
{"foo": "\""}
{'foo': '\\"'}
```
But in most of online json parser, string `{"foo": "\\\""}` will be parsed as `{"foo":"\""}`
I'm not a specialist of JSON at all. If the standard of JSON hasn't said anything of it, please point it out in Python's Document at least.
When I ask my friend to run the code, he got the same result as me. And my friend is using lastest Arch Linux at that time(2019/08/26).
My python version: 3.7.4
System version: Linux 4.19.66-1-MANJARO |
|
Date |
User |
Action |
Args |
2019-08-25 13:54:38 | Origami Tobiichi | set | recipients:
+ Origami Tobiichi |
2019-08-25 13:54:38 | Origami Tobiichi | set | messageid: <1566741278.95.0.927003838534.issue37944@roundup.psfhosted.org> |
2019-08-25 13:54:38 | Origami Tobiichi | link | issue37944 messages |
2019-08-25 13:54:38 | Origami Tobiichi | create | |
|