Skip to main content

deserialize_fact_type_map

Function deserialize_fact_type_map 

Source
pub fn deserialize_fact_type_map<'de, D>(
    deserializer: D,
) -> Result<HashMap<FactPath, LemmaType>, D::Error>
where D: Deserializer<'de>,
Expand description

Custom deserializer for HashMap<FactPath, LemmaType>

Deserializes string keys back to FactPath using FactPath::from_path().