Author aeros167
Recipients Dima.Tisnek, aeros167, docs@python, josh.r, lebigot, rhettinger
Date 2019-07-13.21:57:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563055060.61.0.596656191256.issue30550@roundup.psfhosted.org>
In-reply-to
Content
> The JSON encoder for dictionaries preserves the order of the items in a dictionary

From what I can tell, the JSON encoder does nothing to preserve the order of the keys. Although the default option is to not modify the existing dictionary, the items() method returns the k,v pairs in a non-random arbitrary manner, which may not match the order the values were entered in. See https://docs.python.org/2/library/stdtypes.html#dict.items.
History
Date User Action Args
2019-07-13 21:57:40aeros167setrecipients: + aeros167, rhettinger, lebigot, docs@python, Dima.Tisnek, josh.r
2019-07-13 21:57:40aeros167setmessageid: <1563055060.61.0.596656191256.issue30550@roundup.psfhosted.org>
2019-07-13 21:57:40aeros167linkissue30550 messages
2019-07-13 21:57:40aeros167create