Skip to main content

model_diffs

Function model_diffs 

Source
pub fn model_diffs(before: &Value, after: &Value) -> Vec<ModelDiff>
Expand description

Every typed-model field the conversion changed, capped at MAX_MODEL_DIFFS.

Numbers compare within a last-ulp relative tolerance — the writers print shortest round-trip floats, so anything beyond a text wobble is a real change — and everything else compares exactly.