pub fn json_eq(a: &Value, b: &Value) -> bool
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.
true
1
1.0
==
1 != 1.0