convert_json: Convert BioCompute Object or domain to JSON string

View source: R/convert.R

convert_jsonR Documentation

Convert BioCompute Object or domain to JSON string

Description

Convert BioCompute Object or domain to JSON string

Usage

convert_json(x, pretty = TRUE, auto_unbox = TRUE, na = "string", ...)

Arguments

x

BioCompute Object or domain

pretty

Prettify the JSON string? Default is TRUE.

auto_unbox

Unbox all atomic vectors of length 1? Default is TRUE.

na

How to represent NA values: must be "null" or "string". Default is "string".

...

Additional parameters for toJSON.

Value

JSON string of the BioCompute Object

Examples

compose_description() %>% convert_json()
generate_example("minimal") %>% convert_json()

biocompute documentation built on May 3, 2022, 9:08 a.m.