Currently I use ediff a lot for diffing all sorts of text files. I also use it for looking at diffs between JSON files. The problem is that a lot of differences appear which are semantically irrelevant.
e.g. This snippet:
{
alice: "Springs",
bob: "4 apples"
}
Is semantically the same as this one since the order of keys in a JSON object does not matter (and cannot even be assumed to be well-defined):
{
bob: "4 apples",
alice: "Springs"
}
Obviously, however the two files are different on a plain text basis so if I look at it in ediff, I'm likely to see noise I don't care about. Is there a way/tool/technique for filtering this out?