mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-24 09:48:51 +02:00
Updated Response Templating (markdown)
@@ -144,7 +144,7 @@ Two functions are present:
|
|||||||
2. JsonPath.SelectTokens
|
2. JsonPath.SelectTokens
|
||||||
|
|
||||||
### JsonPath.SelectToken
|
### JsonPath.SelectToken
|
||||||
This can be used in C# like:
|
#### This can be used in C# like:
|
||||||
```csharp
|
```csharp
|
||||||
var server = WireMockServer.Start();
|
var server = WireMockServer.Start();
|
||||||
server
|
server
|
||||||
@@ -167,7 +167,7 @@ When returning a more complex Json Body like this:
|
|||||||
|
|
||||||
You need to to use single quote (`'`) instead of escaped double quotes (`\"`) because of some parsing error @ Handlebars.Net (see also #1108).
|
You need to to use single quote (`'`) instead of escaped double quotes (`\"`) because of some parsing error @ Handlebars.Net (see also #1108).
|
||||||
|
|
||||||
Or using the admin mapping file:
|
#### Or using the admin mapping file:
|
||||||
``` js
|
``` js
|
||||||
{
|
{
|
||||||
"Request": {
|
"Request": {
|
||||||
|
|||||||
Reference in New Issue
Block a user