jsontools
jsontools copied to clipboard
Helpers to work with JSON in R
`json_unnest_wider()` should produce a message if `wrap_scalar = TRUE` ``` scalars where wrapped at two keys. Use `list(x = TRUE, y = TRUE)` to explicitly only wrap these two. ```
* `asJSON` is not exported from `jsonlite` (see https://github.com/jeroen/jsonlite/issues/62), so extending it is a bit of a hack * use class `json` for the json vector. Does this cause any...
* no special treatment and simply let `format_json()` do its job. * extra argument? * `NA`: is unlikely to occur in a list. Maybe from `parse_json_vector()`? * `NULL`: treated as...
```r \Sexpr[results=rd, stage=render]{lifecycle::badge("deprecated")} ```
* what about arguments `simplifyVector`, `simplifyDataFrame`, `simplifyMatrix`, and `flatten`? * take `spec` argument? * `.na` and `.null` can return the prototype generated from `spec`
https://github.com/colearendt/tidyjson