summaryrefslogtreecommitdiffstats
path: root/Doc/library/json.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-11-05 15:47:27 (GMT)
committerGitHub <noreply@github.com>2018-11-05 15:47:27 (GMT)
commit083a7a172b8c8888252d72031f21dcfea3c0d73f (patch)
treed3091a0edbdcba20c53555c5359117713c658114 /Doc/library/json.rst
parent34fd4c20198dea6ab2fe8dc6d32d744d9bde868d (diff)
downloadcpython-083a7a172b8c8888252d72031f21dcfea3c0d73f.zip
cpython-083a7a172b8c8888252d72031f21dcfea3c0d73f.tar.gz
cpython-083a7a172b8c8888252d72031f21dcfea3c0d73f.tar.bz2
bpo-35167: Specify program for gzip and json.tool command line options. (GH-10332)
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r--Doc/library/json.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index 8ce493d..510e307 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -648,7 +648,9 @@ when serializing Python :class:`int` values of extremely large magnitude, or
when serializing instances of "exotic" numerical types such as
:class:`decimal.Decimal`.
+
.. _json-commandline:
+.. program:: json.tool
Command Line Interface
----------------------
@@ -680,6 +682,7 @@ specified, :attr:`sys.stdin` and :attr:`sys.stdout` will be used respectively:
:option:`--sort-keys` option to sort the output of dictionaries
alphabetically by key.
+
Command line options
^^^^^^^^^^^^^^^^^^^^