Learn R Programming

smartsheetr (version 0.1.0)

to_json: Convert list to a JSON character vector

Description

The default method of jsonlite::toJSON() returns values wrapped as vectors, e.g. {"x":[1]}. The smartsheets API complains about this, so we must remove it by using the auto_unbox parameter.

Usage

to_json(...)

Arguments

...

Passed on to toJSON