Function write_json_file

Source
pub fn write_json_file<T>(
    value: &T,
    path: &Path,
    capacity: usize,
) -> Result<(), SolcError>
where T: Serialize,
Expand description

Writes serializes the provided value to JSON and writes it to a file.