public void SerializeDeserialize()
        {
            var Temp = new Utilities.IO.Serializers.Default.JSONSerializer();

            Assert.Equal(new Temp {
                A = 10
            }.A, ((Temp)Temp.Deserialize(typeof(Temp), Temp.Serialize(typeof(Temp), new Temp {
                A = 10
            }))).A);
        }
        static void Main(string[] args)
        {
            var jsonFile = new FileInfo(@"./Config/tsconfig.json");

            if (!jsonFile.Exists)
            {
                return;
            }

            var jsonSerialize = new Utilities.IO.Serializers.Default.JSONSerializer();
            var testConfig    = jsonSerialize.Deserialize(typeof(TestConfig), jsonFile);

            var appConfig = testConfig as TestConfig;

            appConfig.IsMark = 20;
            var a = jsonSerialize.Serialize(typeof(TestConfig), appConfig);

            jsonFile.Write(a);
            Console.WriteLine(a);
            if (appConfig == null)
            {
                return;
            }

            Console.WriteLine(appConfig.IsMark);


            TestOtherFile app = new TestOtherFile();

            try
            {
                app.DoAction(args);
            }
            catch (Exception e)
            {
                Console.WriteLine("Exception: " + e.Message);
                if (e.InnerException != null)
                {
                    Console.WriteLine("Inner exception: " + e.InnerException.Message);
                }
            }

            if (Debugger.IsAttached)
            {
                Console.WriteLine();
                Console.Write("Press any key to exit...");
                Console.ReadKey(true);
            }
        }
 public void SerializeDeserialize()
 {
     var Temp = new Utilities.IO.Serializers.Default.JSONSerializer();
     Assert.Equal(new Temp() { A = 10 }.A, ((Temp)Temp.Deserialize(typeof(Temp), Temp.Serialize(typeof(Temp), new Temp() { A = 10 }))).A);
 }