Skip to content

Commit f221886

Browse files
Update mqtt-routing-filtering.md
I compared the JSON notations with https://learn.microsoft.com/azure/event-grid/event-filtering?WT.mc_id=AZ-MVP-5002324#stringcontains . * It seems the backticks are unnecessary inside the quotes * some unnecessary spaces * use of double-quotes is not consistent
1 parent 32596f6 commit f221886

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/event-grid/mqtt-routing-filtering.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ If you send a non-JSON payload that is still UFT-8, it will be serialized as a J
5959
You can use the following filter to filter all the messages that include the word “Contoso”:
6060
```azurecli-interactive
6161
"advancedFilters": [{
62-
"operatorType": "`StringContains` ",
62+
"operatorType": "StringContains",
6363
"key": "data",
64-
"value": Contoso
64+
"value": "Contoso"
6565
}]
6666
```
6767

@@ -82,9 +82,9 @@ You can use the following filter to filter all the messages coming from your cli
8282

8383
```azurecli-interactive
8484
"advancedFilters": [{"
85-
operatorType": "`StringContains` ",
86-
"key": "`clienttype`",
87-
"value": sensor
85+
operatorType": "StringContains",
86+
"key": "clienttype",
87+
"value": "sensor"
8888
}]
8989
```
9090

0 commit comments

Comments
 (0)