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); }
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); }