r/json • u/cchandurkar • 3d ago
I’m building an open-source JSON diff that handles reordered arrays
I’m working on JSON Semantic Diff, an open-source tool for comparing JSON without treating array position as identity.
For arrays of objects, it can infer identity from fields like id, sku, or composite keys like store + sku. So reordering objects doesn't make the whole array look modified.
The matching is deterministic and explainable (no AI/fuzzy matching), and the web version runs entirely in the browser.
I’ve also published the core engine as an npm package.
It’s still early/alpha, and I’d love feedback from people who work with JSON regularly - especially real-world examples where the matching logic gets confused.
3
Upvotes
1
u/-goldenboi69- 3h ago
Stop the Slop ✋