Expand description
Serde utilities.
Functionsยง
- map_
key_ to_ string - Used to serialize fields of Maps whose key type is not a native string. Annotate the field with
#[serde(serialize_with = mz_ore::serde::map_key_to_string)]. - string_
key_ to_ btree_ map - Used to deserialize fields of
std::collections::BTreeMapwhose key type is not a native string. Annotate the field with#[serde(deserialize_with = "mz_ore::serde::string_key_to_btree_map")].