Read TSMP object from JSON file.

read_json(x, ...)

Arguments

x

a character string with the input filename.

...

other arguments to be passed forward.

Examples


result <- compute(mp_toy_data$data[, 1], 80)
# \donttest{
tempfile <- file.path(tempdir(), "output.json")
write_json(result, file = tempfile)
result <- read_json(tempfile)
# }