Module serde

Source
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::BTreeMap whose key type is not a native string. Annotate the field with #[serde(deserialize_with = "mz_ore::serde::string_key_to_btree_map")].