Skip to main content

json_bool

Function json_bool 

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

Read the boolean key from a workload value: a YAML/JSON bool, or a string spelled true / false (the form a {param} substitution or a CLI override produces).