示例#1
0
 public static string toJson(this CfanModule cfanJson)
 {
     return(JsonConvert.SerializeObject(cfanJson.cfanJson));
 }
示例#2
0
 public static void toCfanFile(this CfanModule module, string filename)
 {
     File.WriteAllText(filename, toJson(module));
 }