JsonDiffPatch

JsonDiffPatch

benjamine

Compares JSON objects and generates compact delta patches that capture all changes including additions, deletions, modifications, and array moves. You can apply these deltas to sync data or reverse them to undo changes.

5,287175 views496Local (stdio)

What it does

  • Compare JSON objects to generate deltas
  • Apply delta patches to update objects
  • Reverse deltas to undo changes
  • Track array element moves and reorders
  • Generate human-readable diff output
  • Handle nested object comparisons

Best for

API developers implementing data synchronizationBuilding version control for configuration filesCreating undo/redo functionality in applicationsTracking changes in dynamic data structures
Smart array diffing with move detectionCompact 16KB footprintReversible patches for undo operations

Tools (1)

diff

compare text or data and get a readable diff

Alternatives