Skip to main content

model_float

Function model_float 

Source
fn model_float(v: Option<&Value>) -> Option<f64>
Expand description

A float field of a pydantic model: an int in the JSON becomes a float.