Description Usage Arguments Value Examples
A wrapper around jsonlite::prettify() resp. jsonlite::minify().
1 2 3 | json_prettify(x, indent = 3)
json_minify(x)
|
x |
A JSON vector. |
indent |
number of spaces to indent. |
A json2 vector.
1 2 3 | x <- c("[1,2, 3]", '{"a": 1, "b": 2}')
json_prettify(x)
json_minify(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.