[jsonpath] change code-fence so it doesn't overlap with logo (#16432)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
jimtng 2024-02-20 22:48:53 +10:00 committed by Ciprian Pascu
parent 8cd24d003b
commit a6c6645784

View File

@ -4,9 +4,7 @@ Extracts values from a JSON string using a [JsonPath](https://github.com/jayway/
Given the following JSON string:
```
[{ "device": { "location": "Outside", "status": { "temperature": 23.2 }}}]
```
`[{ "device": { "location": "Outside", "status": { "temperature": 23.2 }}}]`
The expression `$.device.location` extracts the string `Outside`.
The JsonPath expression `$.device.status.temperature` extracts the string `23.2`.