diff options
author | Georg Brandl <georg@python.org> | 2014-10-28 21:54:28 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-28 21:54:28 (GMT) |
commit | cf3e788da457de50d77ee02136a348370420304a (patch) | |
tree | f88fa6c34d7d8753770fef8c22fab1a383f77d5a /Doc/library/json.rst | |
parent | bc40df9bff2d2778322154c61e0fb60a40097a00 (diff) | |
parent | 946faa39e37f51f3461b6ed2b9ce1e19cb258382 (diff) | |
download | cpython-cf3e788da457de50d77ee02136a348370420304a.zip cpython-cf3e788da457de50d77ee02136a348370420304a.tar.gz cpython-cf3e788da457de50d77ee02136a348370420304a.tar.bz2 |
merge with 3.4
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r-- | Doc/library/json.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 55127c0..cff0c72 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -97,11 +97,11 @@ Extending :class:`JSONEncoder`:: Using json.tool from the shell to validate and pretty-print:: - $ echo '{"json":"obj"}' | python -mjson.tool + $ echo '{"json":"obj"}' | python -m json.tool { "json": "obj" } - $ echo '{1.2:3.4}' | python -mjson.tool + $ echo '{1.2:3.4}' | python -m json.tool Expecting property name enclosed in double quotes: line 1 column 2 (char 1) See :ref:`json-commandline` for detailed documentation. |