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.
pub fn save_spreads_to_json(spreads: &[SpreadResult], filename: &Path)
Save the spread results to a JSON file.
Will panic if the file cannot be created or the JSON cannot be serialized.