pr_set_serializer | R Documentation |
By default, Plumber serializes responses to JSON. This function updates the
default serializer to the function supplied via serializer
pr_set_serializer(pr, serializer)
pr |
A Plumber API. Note: The supplied Plumber API object will also be updated in place as well as returned by the function. |
serializer |
A serializer function |
The Plumber router with the new default serializer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.