Description Usage Arguments Value Examples
Wrap scalars in a JSON array
1 |
x |
A character or numeric vector. |
A json2
vector similar to x
with the JSON scalars wrapped as
JSON array.
1 2 | json_wrap_scalars(c('["a", "b"]', "c", "d"))
json_wrap_scalars(c(1, 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.