Skip to main content

get_or_empty

Function get_or_empty 

Source
pub fn get_or_empty(map: &Map<String, Value>, key: &str) -> Value
Expand description

data.get(key, "") — the value when the key is present (even null), an empty string when it is absent.