This function is not exported.

json_to_ts(jsn, as.dt = FALSE)

Arguments

jsn

JSON string to convert

as.dt

boolean Should the result be returned as a data.table?

Value

R time series representation of class ts, xts or data.table depending on parameter setting and nature of time series. Regular time series can be returned as 'ts' objects whereas irregular time series use 'xts' objects.