pub fn save_values<P: AsRef<Path>>(path: P, values: &[Value]) -> Result<()>
Saves the values to a file.