Learn R Programming

animl (version 3.2.0)

save_json: Save data to a JSON file.

Description

Save data to a JSON file.

Usage

save_json(data, out_file, prompt = TRUE)

Value

None

Arguments

data

the dictionary to be saved

out_file

full path to save file to

prompt

prompt user to confirm overwrite

Examples

Run this code
if (FALSE) {
save_json(mdresults, 'mdraw.json')
}

Run the code above in your browser using DataLab