mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Issue #17225: JSON decoder now counts columns in the first line starting
with 1, as in other lines.
This commit is contained in:
parent
a2964b3175
commit
c510a048ba
5 changed files with 7 additions and 4 deletions
|
@ -102,7 +102,7 @@ Using json.tool from the shell to validate and pretty-print::
|
|||
"json": "obj"
|
||||
}
|
||||
$ echo '{1.2:3.4}' | python -mjson.tool
|
||||
Expecting property name enclosed in double quotes: line 1 column 1 (char 1)
|
||||
Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
|
||||
|
||||
.. highlight:: python3
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue