Skip to main content

num

Function num 

Source
pub fn num(v: Option<&Value>) -> u64
Expand description

A JSON number as u64: accepts integers and floats, clamps negatives to 0.