Skip to main content

json_str_or

Function json_str_or 

Source
pub fn json_str_or<'a>(raw: &'a Value, field: &str, default: &'a str) -> &'a str
Expand description

Extract a string field from JSON with a default value.