Skip to main content

parse_c2s_json_with_required_paths

Function parse_c2s_json_with_required_paths 

Source
fn parse_c2s_json_with_required_paths<T>(
    label: &str,
    json: &str,
    required_paths: &[(&[&str], &'static str)],
    extra_validator: Option<fn(&str, &Value) -> Result<()>>,
) -> Result<T>