Write chat data to json file
Usage
write_to_json(chatdata, output_file)
Arguments
- chatdata
Chat data from parse_users_chat_data.
- output_file
Output file name. Must end with '.json'.
Examples
if (FALSE) { # \dontrun{
write_to_json(chatdata, "chatdata.json")
} # }