[issue30669] json.tool does not accept an --indent flag

2017-06-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Specifying indent in the json.tool command ___ Python tracker __

[issue30669] json.tool does not accept an --indent flag

2017-06-14 Thread Martin Panter
Martin Panter added the comment: Issue 29636 looks related -- nosy: +martin.panter ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30669] json.tool does not accept an --indent flag

2017-06-14 Thread eartheaterrr
New submission from eartheaterrr: I have been using the json.tool quite often by running `cat my-file.json | python -m json.tool` or (`:%! python -m json.tool` in vim) to pretty print the json file, but I would like to customize the indentation level to 2 indentation spaces instead of default