Function pact_models::interaction::http_interaction_from_json
source · pub fn http_interaction_from_json(
source: &str,
json: &Value,
spec: &PactSpecification
) -> Result<Box<dyn Interaction + Send + Sync + RefUnwindSafe>>
Expand description
Converts the JSON struct into an HTTP Interaction