From 85189ead42cd69682a7aa009569e009803ecb6da Mon Sep 17 00:00:00 2001 From: Jean-Daniel LOMENEDE Date: Wed, 19 Apr 2023 18:03:00 +0200 Subject: [PATCH] replace NULL value (empty list) by NA issue #199 --- R/as.json.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/as.json.R b/R/as.json.R index 4699631..5c689ff 100644 --- a/R/as.json.R +++ b/R/as.json.R @@ -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, ...) {