summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-11-10 07:56:54 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-11-10 07:56:54 (GMT)
commit39e4c4d873927b902c53aeb0e2e15c12d2678e1b (patch)
tree8fc68f205c657f36ec637d658cc1b1a1aeae38fd /Doc/whatsnew
parentffd842e1d6736d48d45e741e2006a181c9ad4272 (diff)
downloadcpython-39e4c4d873927b902c53aeb0e2e15c12d2678e1b.zip
cpython-39e4c4d873927b902c53aeb0e2e15c12d2678e1b.tar.gz
cpython-39e4c4d873927b902c53aeb0e2e15c12d2678e1b.tar.bz2
Issue #21650: Add an `--sort-keys` option to json.tool CLI.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.5.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index 51fcb59..502ac44 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -211,6 +211,14 @@ ipaddress
network objects from existing addresses. (Contributed by Peter Moody
and Antoine Pitrou in :issue:`16531`.)
+json
+----
+
+* The output of :mod:`json.tool` command line interface is now in the same
+ order as the input. Use the :option:`--sort-keys` option to sort the output
+ of dictionaries alphabetically by key. (Contributed by Berker Peksag in
+ :issue:`21650`.)
+
os
--