Skip to main content

required_json_string

Function required_json_string 

Source
pub fn required_json_string(
    value: &Value,
    field: &str,
    owner: &str,
) -> Result<String, String>
Expand description

Read a required non-empty string field, or an actionable error naming owner and field.