Web

$jsonHas[json;path]

true if the JSON text has a value at this path, otherwise false.

Values

json
JSON text, for example from $httpGet.
path
Where the value is, like data.items.0.name, with numbers for list positions starting at 0.

Example

$jsonHas[{"user":{"name":"Mira"}};user.age]

false

All functions