Skip to main content

Module diff

Module diff 

Source
Expand description

JSON tree diff.

Given old and new JSON values, return every leaf that changed as a (path, new_value) entry. Paths use dotted notation ("user.name", "items.0.title") so they feed directly into the engine’s path-based reactive graph.

Structs§

DiffEntry
A single change detected by diff_paths.

Functions§

diff_paths
Recursively compare old and new and return every leaf that differs.