Skip to main content

json_str

Function json_str 

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

Reads a string field from a JSON object, defaulting to an empty string if absent or the wrong type.