From 5682f7ab5535057d403a84fedbec24b3a7579a62 Mon Sep 17 00:00:00 2001 From: jimtng <2554958+jimtng@users.noreply.github.com> Date: Tue, 20 Feb 2024 22:48:53 +1000 Subject: [PATCH] [jsonpath] change code-fence so it doesn't overlap with logo (#16432) Signed-off-by: Jimmy Tanagra --- bundles/org.openhab.transform.jsonpath/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bundles/org.openhab.transform.jsonpath/README.md b/bundles/org.openhab.transform.jsonpath/README.md index 35c648854f..d2b71f6028 100644 --- a/bundles/org.openhab.transform.jsonpath/README.md +++ b/bundles/org.openhab.transform.jsonpath/README.md @@ -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`. -- 2.47.3