pretty | R Documentation |
Convert json input to pretty printed output
pretty(x, indent = 4)
x |
Input, character string |
indent |
(integer) Number of spaces to indent |
Only works with json class input. This is a simple wrapper around
jsonlite::prettify()
, so you can easily use that yourself.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.