Skip to main content

load_str

Function load_str 

Source
pub fn load_str(
    raw: &str,
    source_file: &str,
    expected_kind: DetectionKind,
) -> Result<Vec<Detection>, DetectionError>
Expand description

In-memory variant of load that accepts the full GeoJSON text. Required by the .NET bindings (FR-012, no temp files).