# Note that this is different from RJSONIO because null values are NA.
setMethod("asJSON", "NULL", function(x, null = "list", ...) {
if(null == "null"){
return("null")
} else {
return("{}")
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.