This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
function:JSONVALUE [2019/06/24 05:04] peternlewis |
function:JSONVALUE [2019/06/24 08:03] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== JSONVALUE ====== | ====== JSONVALUE ====== | ||
- | The //JSONVALUE// function takes a [[:manual:JSON#JSON_Paths|JSON path]] and returns the numeric result. | + | The //JSONVALUE()// function takes a [[:manual:JSON#JSON_Paths|JSON path]] and returns the numeric result. |
`JSONVALUE(jsonpath)` is more or less equivalent to `CALCULATE(%JSONValue%jsonpath%)`. | `JSONVALUE(jsonpath)` is more or less equivalent to `CALCULATE(%JSONValue%jsonpath%)`. | ||
- | ===== Example ===== | + | ===== Examples ===== |
If a Keyboard Maestro variable `J` contains the JSON object: | If a Keyboard Maestro variable `J` contains the JSON object: |