Add JmesPath matcher (#269)

* JmesPathMatcher

* netstandard1.3

* update System.Linq.Dynamic.Core

* simplyfy `double IsMatch(object input)`
This commit is contained in:
Stef Heyenrath
2019-04-20 10:44:13 +02:00
committed by GitHub
parent dd115a69b7
commit fdb58b757b
10 changed files with 261 additions and 7 deletions

View File

@@ -45,6 +45,9 @@ namespace WireMock.Serialization
case "JsonPathMatcher":
return new JsonPathMatcher(matchBehaviour, stringPatterns);
case "JmesPathMatcher":
return new JmesPathMatcher(matchBehaviour, stringPatterns);
case "XPathMatcher":
return new XPathMatcher(matchBehaviour, (string)matcher.Pattern);