convert_json {biocompute}R 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()

[Package biocompute version 1.1.1 Index]