pub fn parse_map<'a, V, E>( s: &'a str, is_value_type_map: bool, gen_elem: impl FnMut(Option<Cow<'a, str>>) -> Result<V, E>, ) -> Result<BTreeMap<String, V>, ParseError>where E: ToString,