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 of 4. Unfortunately, `json.tool` is hard-coded to use 
4 spaces for indentation, so I am filing this issue to propose this change.

----------
components: Library (Lib)
messages: 296055
nosy: eartheaterrr
priority: normal
pull_requests: 2251
severity: normal
status: open
title: json.tool does not accept an --indent flag
type: enhancement
versions: Python 3.7

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

Reply via email to