From: Serhiy Storchaka Date: Mon, 5 Nov 2018 16:44:08 +0000 (+0200) Subject: [3.7] bpo-35167: Specify program for json.tool command line options. (GH-10332) ... X-Git-Tag: v3.7.2rc1~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ad277b2592cfac0f138e9adca4374dd1f354bdf;p=thirdparty%2FPython%2Fcpython.git [3.7] bpo-35167: Specify program for json.tool command line options. (GH-10332) (GH-10338) (cherry picked from commit 083a7a172b8c8888252d72031f21dcfea3c0d73f) --- diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 8ce493d63995..510e30733fed 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 ^^^^^^^^^^^^^^^^^^^^