Function pact_models::json_utils::headers_to_json
source · pub fn headers_to_json(headers: &HashMap<String, Vec<String>>) -> Value
Expand description
Converts the headers map into a JSON struct
pub fn headers_to_json(headers: &HashMap<String, Vec<String>>) -> Value
Converts the headers map into a JSON struct