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

pub fn match_json(
    expected: &Vec<u8>,
    actual: &Vec<u8>,
    config: DiffConfig,
    mismatches: &mut Vec<Mismatch>,
    matchers: &MatchingRules
)

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