JsonMatcher support IgnoreCase (#333)

* JsonMatcher - IgnoreCase - #332

* also rename property name

* Remove example project
This commit is contained in:
Stef Heyenrath
2019-08-23 19:49:15 +00:00
committed by GitHub
parent 2e33bcc464
commit ccb2c51a39
8 changed files with 118 additions and 139 deletions

View File

@@ -55,7 +55,7 @@ namespace WireMock.Serialization
return new RegexMatcher(matchBehaviour, stringPatterns, matcher.IgnoreCase == true);
case "JsonMatcher":
return new JsonMatcher(matchBehaviour, matcher.Pattern);
return new JsonMatcher(matchBehaviour, matcher.Pattern, matcher.IgnoreCase == true);
case "JsonPathMatcher":
return new JsonPathMatcher(matchBehaviour, stringPatterns);