Description Usage Arguments Value Examples
Parse a vector of JSON into a list
1 2 3 4 5 6 7 8 9 10 11 | 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 |
passed on
to |
simplifyDataFrame |
passed on
to |
simplifyMatrix |
passed on
to |
flatten |
passed on
to |
bigint_as_char |
Parse big integers as character? The option
|
... |
passed on
to |
A list of the same length as x
.
1 2 3 | 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.