minify_json | R Documentation |
Removes indentiation from a JSON string
minify_json(json, ...)
json |
string of JSON |
... |
other argments passed to to_json |
df <- data.frame(id = 1:10, val = rnorm(10)) js <- to_json( df ) jsp <- pretty_json(js) minify_json( jsp )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.