Beispiel #1
0
        public static void WriteClassWithObjectIListT()
        {
            string json;

            {
                TestClassWithObjectIListT obj = new TestClassWithObjectIListT();
                obj.Initialize();
                obj.Verify();
                json = JsonSerializer.ToString(obj);
            }

            {
                TestClassWithObjectIListT obj = JsonSerializer.Parse <TestClassWithObjectIListT>(json);
                obj.Verify();
            }

            {
                TestClassWithObjectIListT obj = JsonSerializer.Parse <TestClassWithObjectIListT>(TestClassWithObjectIListT.s_data);
                obj.Verify();
            }
        }
Beispiel #2
0
        public static void ReadClassWithObjectIListT()
        {
            TestClassWithObjectIListT obj = JsonSerializer.Parse <TestClassWithObjectIListT>(TestClassWithObjectIListT.s_data);

            obj.Verify();
        }