parse_json_or_empty | R Documentation |
Since jsonlite::fromJSON(NULL)
and jsonlite::fromJSON("")
return errors,
this function will force a NULL or empty string to be interpreted as
list()
. Otherwise, the output of this function is identical to
fromJSON
.
parse_json_or_empty(json, ...)
json |
character to be interpreted as a JSON |
... |
additional arguments passed to |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.