Skip to main content

json_to_insert_data

Function json_to_insert_data 

Source
pub fn json_to_insert_data(json: Value) -> Result<HashMap<String, Value>>
Expand description

Converts an incoming serde_json::Value (from a request body) into the HashMap<String, Value> that our insert_map function expects.