Function json_io::save
[−]
[src]
pub fn save<T: Encodable>(path: &Path, t: &T) -> Result<(), Error>
Save an Encodable type to a JSON file at the given path.
The file will be saved with the ".json" extension whether or not it was given with the Path.