Anne Pier Salverda
Results
2
issues of
Anne Pier Salverda
``` toJSON(list(x = 1, y = data.frame(a = 2, b = 3)), pretty = TRUE, auto_unbox = TRUE) { "x": 1, "y": [ { "a": 2, "b": 3 } ]...
For an NA value in a lists column in a data frame, toJSON outputs an empty list (instead of nothing)
2
When using `toJSON()` on a data frame, default behavior for NA values is that no field is included in the JSON record (see also section 2.4.3 in _The jsonlite Package:...