Skip to main content

Module json_diff

Module json_diff 

Source
Expand description

JSON-mode per-field diff. Walks two extractions and emits a map keyed by field path (plans[0].price, Firecrawl style) to {previous, current} pairs. Added fields have previous: null; removed fields current: null.

Functionsยง

changed
True when the two extractions differ on any leaf.
compute
Compute the per-field diff between two extractions. Returns an empty object when nothing tracked changed.