json_path_exists | R Documentation |
Does the path exist?
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.
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.