Browse Source

merge with 3.4

pull/9921/head
Georg Brandl 12 years ago
parent
commit
cf3e788da4
  1. 4
      Doc/library/json.rst

4
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.

Loading…
Cancel
Save