pub fn compare_json(a: &Value, b: &Value) -> OrderingExpand description
Compare two JSON values with type coercion.
Numeric comparison first (with bool coercion, exact for integers and decimal text, NaN above every number), then string comparison of the display forms.