示例#1
0
        public static void DumpAsJSON(IEnumerable <CodeElement> elements, string filename)
        {
            string json = new TestJSONSerializer().ToJSON(elements);

            string[] lines = { json };
            System.IO.File.WriteAllLines(filename + ".json", lines);
        }
示例#2
0
 public static void DumpAsJSON(IEnumerable<CodeElement> elements, string filename)
 {
     string json = new TestJSONSerializer().ToJSON(elements);
     string[] lines = { json };
     System.IO.File.WriteAllLines(filename + ".json", lines);
 }