Function o1_utils::serialization::ser::deserialize
source · pub fn deserialize<'de, T, D>(deserializer: D) -> Result<T, D::Error>where
T: CanonicalDeserialize,
D: Deserializer<'de>,
Expand description
You can use this to deserialize an arkworks type with serde and the “deserialize_with” attribute. See https://serde.rs/field-attrs.html