Dave
Dave
{jsonify} will work in this scenario ```r jsonify::to_json(env_var) # {"b":[1,2],"a":["a"]} ```
perhaps this is resolved now? - https://gist.github.com/layik/9d20af29cbee934fd91d59a9f96dbe90#gistcomment-3321062
perhaps R4.0 has had an unplanned benefit?
Turns out I had made a mistake and hand't use the correct object to start with - https://gist.github.com/layik/9d20af29cbee934fd91d59a9f96dbe90#gistcomment-3321944
The documentation for `unbox()` says > # Arguments > > `x` atomic vector of length 1, or data frame with 1 row. Since a `POSIXlt` object is not an atomic...
@zmbc is this the type of output you're after: ```r library(sf) library(geojsonsf) point1
> library("rjson") This is a different library, it's not `jsonlite`.
yes that should be do-able. As an interim solution you can use `sf` directly to read the geojson ```r library(sf) sf
On branch `issue91` these examples now work ```r library(sf) library(geojsonsf) geojson
Thanks for the suggestion. > detecting column names via `grep` in the future. Given this, it's probably worth copying what I do in [mapdeck here](https://github.com/SymbolixAU/mapdeck/blob/master/R/map_data.R#L472) - where I auto-detect the...