pub fn serialize<S: Serializer, K: Serialize, V: Serialize>(
map: &HashMap<K, V>,
serializer: S,
) -> Result<S::Ok, S::Error>
Expand description
Serialize a HashMap by first converting to a Vec of tuples and
then serializing the vector.
See module level documentation for usage information.