mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
Add unique values/sort values to pretty_formatted_json
This commit is contained in:
parent
7eb0512c68
commit
1cf0b2d22d
5 changed files with 195 additions and 4 deletions
25
testing/resources/unique_values_pretty_formatted_json.json
Normal file
25
testing/resources/unique_values_pretty_formatted_json.json
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"unique_list": [
|
||||
234,
|
||||
34,
|
||||
2,
|
||||
234
|
||||
],
|
||||
"sub_dict": {
|
||||
"sub_list": [
|
||||
"foo",
|
||||
"foo",
|
||||
{
|
||||
"sub_sub_dict_entry": "sub_sub_dict_entry_value"
|
||||
},
|
||||
"bar",
|
||||
[
|
||||
1,
|
||||
2,
|
||||
3
|
||||
]
|
||||
],
|
||||
"sub_list_2": "sub_list_2_value"
|
||||
},
|
||||
"foo": "bar"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue