# Read from disk
if (FALSE) {
dat <- read_dataset_json("path/to/file.json")
dat <- dataset_json('https://www.somesite.com/file.json')
}
# Read from an already imported character vector
ds_json <- dataset_json(iris, "IG.IRIS", "IRIS", "Iris", iris_items)
js <- write_dataset_json(ds_json)
dat <- read_dataset_json(js)
Run the code above in your browser using DataLab