Skip to main content

json_bool

Function json_bool 

Source
pub fn json_bool(value: &Value, key: &str) -> bool
Expand description

Reads a boolean field from a JSON object, defaulting to false if absent or the wrong type.