Closed tristan-ranff closed 2 years ago
❯ diff <(sort uparma-lib/old.json) <(sort uparma-lib/jsons/parameters.json)
2046a2047,2048
> "mascot_2_6_2",
> "mascot_2_6_2",
4719a4722,4723
> true
> true
7349a7354,7355
> [
> [
9759a9766,9767
> ],
> ],
11974a11983,11994
> "validation"
> "validation"
> "validation"
> "validation"
> "validation"
> "validation"
> "validation"
> "validation"
> "validation"
> "validation"
> "validation"
> "validation"
14515,14526c14535,14546
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
< "tag": ["validation"],
---
> "tag": [
> "tag": [
> "tag": [
> "tag": [
> "tag": [
> "tag": [
> "tag": [
> "tag": [
> "tag": [
> "tag": [
> "tag": [
> "tag": [
15729c15749
< "value_type": "select",
---
> "value_type": "select"
15819c15839,15851
< ]
---
> ],
> ],
> ],
> ],
> ],
> ],
> ],
> ],
> ],
> ],
> ],
> ],
> ],
the additional lines arise from one two added mascot entries and pretty printing
added support and test for sorting nested json outermost list is sorted by name innermost objects are not sorted