pre-commit-hooks/testing/resources/tab_pretty_formatted_json.json
Sander Maijers a5628863e8
Refactor legacy indent: int -> indent: str
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.
2016-06-12 19:19:07 +02:00

9 lines
66 B
JSON

{
"alist": [
2,
34,
234
],
"blah": null,
"foo": "bar"
}