as_jsonld | R Documentation |
Convert a list object to JSON-LD
as_jsonld(x, context = "http://schema.org", pretty = TRUE, auto_unbox = TRUE, ...)
x |
the object to be encoded |
context |
JSON-LD context; "http://schema.org" |
pretty |
adds indentation whitespace to JSON output. Can be TRUE/FALSE or a number specifying the number of spaces to indent. See |
auto_unbox |
automatically |
... |
arguments passed on to class specific |
x <- Thing(url = "http://schema.org") as_jsonld(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.