Module o1_utils::serialization::ser
source · Expand description
You can use this module for serialization and deserializing arkworks types with serde.
Simply use the following attribute on your field:
#[serde(with = "o1_utils::serialization::ser") attribute"]
Functions
- You can use this to deserialize an arkworks type with serde and the “deserialize_with” attribute. See https://serde.rs/field-attrs.html
- You can use this to serialize an arkworks type with serde and the “serialize_with” attribute. See https://serde.rs/field-attrs.html