Skip to main content

json_eq

Function json_eq 

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

JSON equality, the way the spec defines it: true is never 1, but 1 equals 1.0, and this holds inside lists and maps. serde_json’s own == would say 1 != 1.0.