Skip to main content

encode_data_map

Function encode_data_map 

Source
pub fn encode_data_map(map: &HashMap<String, String>) -> String
Expand description

Convenience helper for constructing a HashMap-backed data blob when the caller does not want to pull in serde_json directly. Returns a JSON object string.