pub fn matchers_to_json(matchers: &MatchingRules, spec_version: &PactSpecification) -> Value {
   match spec_version {
     &PactSpecification::V3 => matchers.to_v3_json(),
     _ => matchers.to_v2_json()
   }
}
/// Generates a Value structure for the provided matching rules
Generates a Value structure for the provided matching rules
Generates a Value structure for the provided matching rules
pub fn matchers_to_json(matchers: &MatchingRules, spec_version: &PactSpecification) -> Value {
   match spec_version {
     &PactSpecification::V3 => matchers.to_v3_json(),
     _ => matchers.to_v2_json()
   }
}
pub fn matchers_to_json ( matchers : & MatchingRules , spec_version : & PactSpecification ) -> Value { match spec_version { & PactSpecification :: V3 => matchers . to_v3_json ( ) , _ => matchers . to_v2_json ( ) } }
Generates a Value structure for the provided matching rules
Generates a Value structure for the provided matching rules
matchers
&MatchingRules
spec_version
&PactSpecification
matchers
&MatchingRules
spec_version
&PactSpecification