Sorting and comparing JSON files


Just for your consideration, currently there are no really easy way to comparing the content of JSON files.
Obviosly, they are unordered, being dict-like.

However, they can be ordered anyway, and that would be very useful also when just looking in them (and debugging dicts in general), as that tends to be extra annoyingly difficult as the structure constantly changes.

A simple recursive sorting feature would make that far easier in both cases.

WRT the comparison case, and to make that really good, it would have to look a couple of levels down to see how to sort, but just a simple recursive sort would be a significant improvement.

Thanks in advance,
1 comment
Comment actions Permalink
That would obviously also be applicable to XML and other similar notations where items are unordered.

Please sign in to leave a comment.