4 min read
How to Compare Two JSON Files and Ignore Key Order
JSON objects have no order, so a text diff reports changes that are not changes. How to sort keys first, what still differs, and three ways to do it.
Topic
1 article tagged “diff”.
JSON objects have no order, so a text diff reports changes that are not changes. How to sort keys first, what still differs, and three ways to do it.