mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
The type of `indent` parameter is preferably `str`. See http://simplejson.readthedocs.io/en/latest/index.html?highlight=dump#simplejson.dump . This change allows to specify TABs as indentation delimiter to `pretty_format_json`. Add input validator/converter for backward compat.
9 lines
66 B
JSON
9 lines
66 B
JSON
{
|
|
"alist": [
|
|
2,
|
|
34,
|
|
234
|
|
],
|
|
"blah": null,
|
|
"foo": "bar"
|
|
}
|