pub fn write_json_file<T>( value: &T, path: &Path, capacity: usize, ) -> Result<(), SolcError>where T: Serialize,
Writes serializes the provided value to JSON and writes it to a file.