View source: R/to_json.R
Coerce string to JSON
as.json(x)
x
string to coerce to JSON
js <- '{"x":1,"y":2}' as.json(js)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.