to_json: Convert list to a JSON character vector

View source: R/util.R

to_jsonR Documentation

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


smartsheetr documentation built on Nov. 2, 2023, 5:42 p.m.