Skip to main content

canonical_numbers

Function canonical_numbers 

Source
pub fn canonical_numbers(v: &mut Value) -> Result<(), String>
Expand description

Every number in v (any JSON, e.g. a whole event content with its m.new_content) made canonical: number::canonicalize from the top.

§Errors

An integer outside ±MAX_SAFE_INT or a non-finite number, naming where.