split_ndjson | R Documentation |
Split a vector of JSON strings into a list of R objects.
split_ndjson(x)
x |
A vector of JSON strings. |
A list with the same length as x
, each containing two character vectors: keys
and values
.
## Not run:
split_ndjson(c('{"a": "1", "b": "2"}', '{"a": "3", "b": "4", "c": "5"}'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.