[issue33927] Allow json.tool to have identical infile and outfile
Michael Kuhlmann
report at bugs.python.org
Thu Jun 21 06:45:40 EDT 2018
New submission from Michael Kuhlmann <michaelkoolman95 at gmail.com>:
It would be nice to have same infile and outfile for json.tool to replace json files with their pretty-printed version.
Currently, if I try this I get an error:
$ python3 -m json.tool example.json example.json
Expecting value: line 1 column 1 (char 0)
----------
messages: 320151
nosy: kuhlmann
priority: normal
severity: normal
status: open
title: Allow json.tool to have identical infile and outfile
type: behavior
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33927>
_______________________________________
More information about the Python-bugs-list
mailing list