STINNER Victor <vstin...@redhat.com> added the comment:

> The output is not a valid JSON format, and is not a valid JSON Lines format. 
> What you are going to do with it?

It looks useful to me to read a nicely indented JSON in the terminal (without 
specifying an output file). It's more readable that compact JSON on a single 
line.

But should we add an option to write the output on a single line? It would be 
the opposite of the tool description:
"A simple command line interface for json module to validate and *pretty-print* 
JSON objects."

----------
nosy: +vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31553>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to