Description Usage Arguments Value Examples
Does the path exist?
1 | json_path_exists(x, path)
|
x |
A JSON vector. |
path |
Path to element. This must be a valid
JSONpath expression.
For example |
A logical vector.
1 2 3 4 5 6 7 8 9 | json_path_exists(
c(
'{"a": 1}',
'{"b": 2}',
"[1, 2]",
NA_character_
),
"$.a"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.