[New-bugs-announce] [issue24518] json.dumps should accept key function for ``sort_keys``

Catherine Devlin report at bugs.python.org
Sat Jun 27 00:59:43 CEST 2015

New submission from Catherine Devlin:

Right now, json.dumps can be called with True or False, but it would be easy to also support accepting a key function, which then could be used to control the order of keys arbitrarily in the serialized JSON output.

components: Library (Lib)
messages: 245874
nosy: catherinedevlin
priority: normal
severity: normal
status: open
title: json.dumps should accept key function for ``sort_keys``
type: enhancement
versions: Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list