Glossary: JSON Diff & Related Terms
Key terms and concepts used in JSON comparison, diff algorithms, and tools like JSDiff. Each entry includes a clear definition and how it relates to comparing JSON and code.
Terms
JSON Diff
Comparing two JSON documents to find added, removed, or changed keys and values. Unlike line-by-line text diff, JSON diff can be semantic—ignoring property order and focusing on structure.
Read definition →Myers Algorithm
An efficient O(ND) algorithm for computing the shortest edit script between two sequences. Used by Git, JSDiff, and many text editors for diff and merge.
Read definition →Semantic Diff
A comparison that respects meaning rather than raw text. For JSON, two objects are treated as equal if they have the same keys and values, regardless of property order.
Read definition →