Function save_spreads_to_json

Source
pub fn save_spreads_to_json(spreads: &[SpreadResult], filename: &Path)
Expand description

Save the spread results to a JSON file.

§Panics

Will panic if the file cannot be created or the JSON cannot be serialized.