Esempio n. 1
0
        static void Main(string[] args)
        {
            var traits = CreateMockTraits();
            var nodes  = CreateMockNodes(traits);
            var f1     = new Generation {
                Nodes = nodes
            };

            var f1AsJson = f1.AsJson();

            // Save json file
            System.IO.File.WriteAllText(GetSavePath(), f1AsJson);
            // Console.WriteLine(GetSavePath(f1AsJson));
        }