Signed-off-by: Kai Kreuzer <kai@openhab.org> |
||
|---|---|---|
| .. | ||
| readme.md | ||
readme.md
| id | label | title | type | description | since | install |
|---|---|---|---|---|---|---|
| jsonpath | JsonPath | JsonPath - Transformation Services | transform | Extract an element of a JSON string using a [JsonPath expression](https://github.com/jayway/JsonPath#jayway-jsonpath). | 2x | auto |
{% include base.html %}
JsonPath Transformation Service
Extract an element of a JSON string using a JsonPath expression.
Return null if the JsonPath expression could not be found.
Example
Given the JsonPath expression $.device.status.temperature:
| input | output |
|---|---|
{ "device": { "status": { "temperature": 23.2 }}} |
23.2 |