as_jsonld: Convert a list object to JSON-LD

Description Usage Arguments

View source: R/write_jsonld.R

Description

Convert a list object to JSON-LD

Usage

1
2
3
4
5
6
7
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.


dataspice documentation built on May 17, 2021, 1:09 a.m.