pub fn json_get_bool(json: &str, field: &str) -> Option<bool>
Get a field from a JSON object as a boolean. Returns None if the field doesn’t exist or isn’t a boolean.