parse_json_vector | R Documentation |
Parse a vector of JSON into a list
parse_json_vector(
x,
.na = json_na_error(),
.null = NULL,
simplifyVector = TRUE,
simplifyDataFrame = FALSE,
simplifyMatrix = FALSE,
flatten = FALSE,
bigint_as_char = bigint_default(),
...
)
x |
a scalar JSON character |
.na |
Value to return if |
.null |
Return the prototype of |
simplifyVector, simplifyDataFrame, simplifyMatrix, flatten, ... |
passed on
to |
bigint_as_char |
Parse big integers as character? The option
|
A list of the same length as x
.
parse_json_vector(x = c('"a"', '"b"'))
parse_json_vector(x = c('"a"', '["b", "c"]'))
parse_json_vector(x = c('"a"', NA), .na = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.