Skip to main content

simple_json_ld_eq

Function simple_json_ld_eq 

Source
pub fn simple_json_ld_eq(a: &Value, b: &Value) -> bool
Expand description

Compares two JSON values for JSON-LD equivalence: arrays are compared as multisets (any order, duplicates counted), except the value of an @list entry whose order is significant; objects must bind the same keys to equivalent values; everything else must be strictly equal.