R/serialize.R
read_json.Rd
Read TSMP object from JSON file.
read_json(x, ...)
a character string with the input filename.
character
other arguments to be passed forward.
result <- compute(mp_toy_data$data[, 1], 80) # \donttest{ tempfile <- file.path(tempdir(), "output.json") write_json(result, file = tempfile) result <- read_json(tempfile) # }