Skip to main content

bounded_json_map

Function bounded_json_map 

Source
pub fn bounded_json_map<'de, D: Deserializer<'de>>(
    deserializer: D,
    what: &'static str,
    max_keys: usize,
    max_key_bytes: usize,
    valid_key: fn(&str) -> bool,
) -> Result<Map<String, Value>, D::Error>