Skip to contents

Convert a list object to JSON-LD

Usage

as_jsonld(
  x,
  context = "http://schema.org",
  pretty = TRUE,
  auto_unbox = TRUE,
  ...
)

Arguments

x

the object to be encoded.

context

JSON-LD context; "http://schema.org".

pretty

Whether or not to prettify output. See toJSON.

auto_unbox

Whether or not to automatically unbox output. See toJSON.

...

Other arguments to be passed to toJSON.