_:nabaaf84ec7004e4da225b53ef1049b52xb1
<http://schema.org/text>
"Hello All,\n\nI am trying to Serialize/Deserialize a structure of this type:\n\n#[derive(Deserialize, Default, Clone, Debug, Serialize)]\n\nstruct Metrics {\n\nmetric: String,\n\n#[serde(deserialize_with = &quot;deserialize_vec&quot;, serialize_with = &quot;serialize_vec&quot;)]\n\ndata: Option&lt;Vec&lt;f64&gt;&gt;,\n\nmetric_type: &hellip;"
<https://users.rust-lang.org/t/help-with-deserializing-json-to-option-vec-f64-containing-null/117361>