Skip to main content

parse_alert_map

Function parse_alert_map 

Source
pub fn parse_alert_map(text: &str) -> Result<BTreeMap<String, u64>>
Expand description

Parse an --alert-map document: {"<case id>": <alert id>, ...}.

§Errors

Not a JSON object of positive integers.