diff --git a/starknet-ff/src/lib.rs b/starknet-ff/src/lib.rs index d3032cf3..36a5cd1b 100644 --- a/starknet-ff/src/lib.rs +++ b/starknet-ff/src/lib.rs @@ -579,7 +579,7 @@ mod serde_field_element { where D: serde::Deserializer<'de>, { - deserializer.deserialize_any(FieldElementVisitor) + deserializer.deserialize_str(FieldElementVisitor) } }