Skip to contents

Converts R lists to JSON-like strings for POST request's body.

#' @keywords internal

Usage

list_as_json_char(list)

Arguments

list

R list that should be converted to the JSON-like string

Examples

if (FALSE) {
example_body <- list_as_json_char(list(
  "name" = "A survey object created via API/R",
  "asset_type" = "survey"
))
}