pub trait PactJsonVerifier {
    // Required method
    fn verify_json(
        path: &str,
        pact_json: &Value,
        strict: bool,
        spec_version: PactSpecification
    ) -> Vec<PactFileVerificationResult>;
}
Expand description

Trait for Pact JSON file format verifiers

Required Methods§

source

fn verify_json( path: &str, pact_json: &Value, strict: bool, spec_version: PactSpecification ) -> Vec<PactFileVerificationResult>

Verify the JSON format. Will return an error if the list contains any Error result

Object Safety§

This trait is not object safe.

Implementors§