Skip to main content

canonical_json_value

Function canonical_json_value 

Source
pub fn canonical_json_value(value: &Value) -> Result<Value, DatabaseError>
Expand description

Canonicalizes bounded JSON values so equivalent integral numeric representations and object-key order do not acquire backend-specific equality semantics. Arrays retain their order, and strings never undergo numeric coercion.