Skip to content

Commit

Permalink
replace NULL value (empty list) by NA
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Daniel LOMENEDE committed Apr 19, 2023
1 parent 321c679 commit 85189ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/as.json.R
Expand Up @@ -29,7 +29,7 @@ as.json.list <- function(x, ...) {
}

#' @export
as.json.geo_list <- function(x, ...) to_json(unclass(x), ...)
as.json.geo_list <- function(x, ...) to_json(unclass(x), null = "null", ...)

#' @export
as.json.geojson_file <- function(x, ...) {
Expand Down

0 comments on commit 85189ea

Please sign in to comment.