예제 #1
0
        static void Main(string[] args)
        {
            TestEndpoint testCall = new TestEndpoint();
            string       response = testCall.TestGetData();

            Console.WriteLine("Serialized Data:");
            Console.WriteLine(response);
            Console.WriteLine("-------------------");
            Console.WriteLine("Deserialized Data:");
            var deserialize = JsonConvert.DeserializeObject <List <Schema> >(response);

            foreach (var item in deserialize)
            {
                Console.WriteLine(item.Entity + "-" + item.ColumnName + "-" + item.ColumnValue);
            }
            Console.ReadLine();
        }