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 Zeturic
Recipients Zeturic, bob.ippolito, corona10
Date 2021-08-31.07:08:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630393730.57.0.732699333884.issue45054@roundup.psfhosted.org>
In-reply-to
Content
Sorry to the people I'm pinging, but I just noticed the initial dictionary in my example code is wrong. I figured I should fix it before anybody tested it and got confused about it not matching up with my description of the results.

It should've been:

import json
d1 = {"1": "fromstring", 1: "fromnumber"}
string = json.dumps(d1)
print(string)
d2 = json.loads(string)
print(d2)
History
Date User Action Args
2021-08-31 07:08:50Zeturicsetrecipients: + Zeturic, bob.ippolito, corona10
2021-08-31 07:08:50Zeturicsetmessageid: <1630393730.57.0.732699333884.issue45054@roundup.psfhosted.org>
2021-08-31 07:08:50Zeturiclinkissue45054 messages
2021-08-31 07:08:50Zeturiccreate