Skip to main content

diff_rows

Function diff_rows 

Source
pub fn diff_rows(
    source: &[Value],
    dest: &[Value],
    key: &[String],
    columns: Option<&[String]>,
    exclude: &[String],
    norm: &Normalizer,
) -> Vec<Difference>
Expand description

Compare two leaf ranges row by row. Returns every differing key, ordered by key text so the report is stable. Rows on either side are matched on the canonical key text; a key present more than once on a side is reported as a DifferenceKind::Duplicate and not matched.