]> git.basschouten.com Git - openhab-addons.git/commitdiff
[jsonpath] change code-fence so it doesn't overlap with logo (#16432)
authorjimtng <2554958+jimtng@users.noreply.github.com>
Tue, 20 Feb 2024 12:48:53 +0000 (22:48 +1000)
committerGitHub <noreply@github.com>
Tue, 20 Feb 2024 12:48:53 +0000 (13:48 +0100)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
bundles/org.openhab.transform.jsonpath/README.md

index 35c648854f8811aba7e440799dc495956933570e..d2b71f602881cb7a5c48fd919f9e01d5d5e77f24 100644 (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`.