Function pact_matching::json::match_json[][src]

pub fn match_json(
    expected: &dyn HttpPart,
    actual: &dyn HttpPart,
    context: &MatchingContext
) -> Result<(), Vec<Mismatch>>
Expand description

Matches the expected JSON to the actual, and populates the mismatches vector with any differences