The main reason for including this wrapper method is to make roxygen aware of jsonlite dependency

convert_to_json(a_list, pretty = TRUE, auto_unbox = TRUE, ...)

Arguments

a_list

An R object to convert to JSON

pretty

Add whitespace to JSON output? Default: TRUE [argument to jsonlite::toJSON]

auto_unbox

Automatically "unbox" vectors of length one? Default: TRUE [argument to jsonlite::toJSON]

...

Additional arguments to jsonlite::toJSON

Value

A character string formatted as JSON