to_jsonformat Transform object to JSON expected format
to_jsonformat(data, time, popup = NULL, label = NULL, name = NULL)
The data
Name of the time column.
Name of the popup column.
Name of the label column.
Name of the name column.
A list that is transformed to the expected JSON format