View source: R/json_interface.R
| mapS4SlotsToJSONProperties | R Documentation |
Map S4 slots to JSON properties.
mapS4SlotsToJSONProperties(
object,
add_type = TRUE,
optional = NULL,
ignore = NULL
)
object |
S4 object |
add_type |
add type as a property, TRUE by default |
optional |
properties that are optional in JSON, character vector |
ignore |
slots to be ignored |
a JSON object ready to be serialised
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.