convert_to_json | R Documentation |
The main reason for including this wrapper method is to make roxygen aware of jsonlite dependency
convert_to_json(a_list, pretty = TRUE, auto_unbox = TRUE, ...)
a_list |
An R object to convert to JSON |
pretty |
Add whitespace to JSON output? Default: TRUE [argument to |
auto_unbox |
Automatically "unbox" vectors of length one? Default: TRUE [argument to |
... |
Additional arguments to |
A character string formatted as JSON
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.