Converts R lists to JSON-like strings for POST request's body.
#' @keywords internal
Examples
if (FALSE) {
example_body <- list_as_json_char(list(
"name" = "A survey object created via API/R",
"asset_type" = "survey"
))
}
Converts R lists to JSON-like strings for POST request's body.
#' @keywords internal
if (FALSE) {
example_body <- list_as_json_char(list(
"name" = "A survey object created via API/R",
"asset_type" = "survey"
))
}