Diff fails on cluster containing array of clusters, where cluster in different order

Issue #61 resolved
James Powell repo owner created an issue

So

    {"friends":[{"name": "Magdalena Stanley", "id": 0}]}

different than

    {"friends":[{"id": 0, "name": "Magdalena Stanley"}]}

Comments (2)

  1. James Powell reporter

    Fixed by moving the Reformat to the Array case, and making it Alphabetically Sort. Extra benefit that we were unnecessarily performing Reformat on all cluster elements, when we only really need to do Array elements. Caused increase in speed.

  2. Log in to comment