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.
1 parent f86b28e commit 84e59aaCopy full SHA for 84e59aa
1 file changed
Doc/library/json.rst
@@ -90,18 +90,18 @@ Extending :class:`JSONEncoder`::
90
['[2.0', ', 1.0', ']']
91
92
93
-.. highlight:: none
+.. highlight:: bash
94
95
Using json.tool from the shell to validate and pretty-print::
96
97
$ echo '{"json":"obj"}' | python -mjson.tool
98
{
99
"json": "obj"
100
}
101
- $ echo '{ 1.2:3.4}' | python -mjson.tool
102
- Expecting property name: line 1 column 2 (char 2)
+ $ echo '{1.2:3.4}' | python -mjson.tool
+ Expecting property name: line 1 column 1 (char 1)
103
104
-.. highlight:: python
+.. highlight:: python3
105
106
.. note::
107
0 commit comments