Closed jacebrowning closed 6 years ago
Making it default is unfortunately not an option because the leading spaces will increase the report size even more. But I added --json-report-indent
which you can use to supply an indentation level. I'll include it in the next release.
That said, you can also easily view or convert a JSON file to match your desired indentation, e.g. with json.tool
:
python -m json.tool .report.json
If this plugin called
json.dumps()
withindent=2
it would help to make the report human readable.Could this be the default or at least an option? Thanks!