Skip to main content

required_str

Function required_str 

Source
pub fn required_str<'a>(
    input: &'a Value,
    field: &str,
) -> Result<&'a str, ToolError>
Expand description

Helper to extract a required string field from JSON input.