Function json_io::save [] [src]

pub fn save<T: Encodable>(path: &Path, t: &T) -> Result<()Error>

Save a Library to a JSON file. The file will be saved with the ".json" extension whether or not it was given with the Path.