Use the QuickJS C API to convert an R object to a JSON string

to_json(arg, auto_unbox = FALSE)

Arguments

arg

Argument to convert to JSON

auto_unbox

Automatically unbox single element vectors

Value

JSON string