mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-23 00:38:28 +02:00
* #201 * Handlebars : Linq and JsonPath * Rename to Regex.Match * unit test coverage
This commit is contained in:
@@ -20,7 +20,7 @@ namespace WireMock.Util
|
||||
}
|
||||
}
|
||||
|
||||
public static string GenerateDynamicLinqStatement(JObject jsonObject)
|
||||
public static string GenerateDynamicLinqStatement(JToken jsonObject)
|
||||
{
|
||||
var lines = new List<string>();
|
||||
WalkNode(jsonObject, null, null, lines);
|
||||
@@ -40,7 +40,7 @@ namespace WireMock.Util
|
||||
}
|
||||
else
|
||||
{
|
||||
ProcessItem(node, path, propertyName, lines);
|
||||
ProcessItem(node, path ?? "it", propertyName, lines);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user