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 facundobatista
Recipients facundobatista
Date 2020-04-02.12:19:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585829958.79.0.134366704668.issue40153@roundup.psfhosted.org>
In-reply-to
Content
As stated in docs [0], JSON structures must not have duplicated keys.

>>> json.dumps({1:2, "1":3})
'{"1": 2, "1": 3}'

This is related to https://bugs.python.org/issue34972 . 



[0] "The RFC specifies that the names within a JSON object should be unique, ..." https://docs.python.org/3/library/json.html#repeated-names-within-an-object
History
Date User Action Args
2020-04-02 12:19:18facundobatistasetrecipients: + facundobatista
2020-04-02 12:19:18facundobatistasetmessageid: <1585829958.79.0.134366704668.issue40153@roundup.psfhosted.org>
2020-04-02 12:19:18facundobatistalinkissue40153 messages
2020-04-02 12:19:18facundobatistacreate