Function pact_plugin_driver::utils::proto_struct_to_map
source · pub fn proto_struct_to_map(val: &Struct) -> HashMap<String, Value>
Expand description
Converts a prost struct to a map of key -> JSON
pub fn proto_struct_to_map(val: &Struct) -> HashMap<String, Value>
Converts a prost struct to a map of key -> JSON