json_wrap_scalars | R Documentation |
Wrap scalars in a JSON array
json_wrap_scalars(x)
x |
A character or numeric vector. |
A json2
vector similar to x
with the JSON scalars wrapped as
JSON array.
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.