diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-22 22:46:34 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-22 22:46:34 -0400 |
commit | dcb6c88a240fea82da8867d1de1022a4555f22b4 (patch) | |
tree | 69d79bbbeffa667cf5c77387a1ee1ae5df6c2e6f /Doc/library/json.rst | |
parent | 06a1fcbb0035c664fefc53ddb8df65cc03a537b7 (diff) | |
download | cpython-git-dcb6c88a240fea82da8867d1de1022a4555f22b4.tar.gz |
Issue #27304: Source code links for sub-packages in the same file.
Patch by Yoni Lavi
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r-- | Doc/library/json.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 174e734115..1e34cf3bdf 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -629,13 +629,19 @@ when serializing instances of "exotic" numerical types such as :class:`decimal.Decimal`. .. highlight:: bash -.. module:: json.tool .. _json-commandline: Command Line Interface ---------------------- +.. module:: json.tool + :synopsis: A command line to validate and pretty-print JSON. + +**Source code:** :source:`Lib/json/tool.py` + +-------------- + The :mod:`json.tool` module provides a simple command line interface to validate and pretty-print JSON objects. |