This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Eric Moyer, ezio.melotti, lisroach, rhettinger, serhiy.storchaka, vstinner
Date 2018-10-24.22:23:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540419832.19.0.788709270274.issue31553@psf.upfronthosting.co.za>
In-reply-to
Content
> 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."
History
Date User Action Args
2018-10-24 22:23:52vstinnersetrecipients: + vstinner, rhettinger, ezio.melotti, serhiy.storchaka, lisroach, Eric Moyer
2018-10-24 22:23:52vstinnersetmessageid: <1540419832.19.0.788709270274.issue31553@psf.upfronthosting.co.za>
2018-10-24 22:23:52vstinnerlinkissue31553 messages
2018-10-24 22:23:52vstinnercreate