Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc40df9 + 946faa3 commit cf3e788Copy full SHA for cf3e788
1 file changed
Doc/library/json.rst
@@ -97,11 +97,11 @@ Extending :class:`JSONEncoder`::
97
98
Using json.tool from the shell to validate and pretty-print::
99
100
- $ echo '{"json":"obj"}' | python -mjson.tool
+ $ echo '{"json":"obj"}' | python -m json.tool
101
{
102
"json": "obj"
103
}
104
- $ echo '{1.2:3.4}' | python -mjson.tool
+ $ echo '{1.2:3.4}' | python -m json.tool
105
Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
106
107
See :ref:`json-commandline` for detailed documentation.
0 commit comments