public async Task ComplexJson_As_LastCtorArg()
        {
            Point_With_Array obj1 = await Serializer.DeserializeWrapper <Point_With_Array>(Point_With_Array.s_json);

            ((ITestClass)obj1).Verify();

            Point_With_Dictionary obj2 = await Serializer.DeserializeWrapper <Point_With_Dictionary>(Point_With_Dictionary.s_json);

            ((ITestClass)obj2).Verify();

            Point_With_Object obj3 = await Serializer.DeserializeWrapper <Point_With_Object>(Point_With_Object.s_json);

            ((ITestClass)obj3).Verify();
        }
Ejemplo n.º 2
0
        public void ComplexJson_As_LastCtorArg()
        {
            Point_With_Array obj1 = Serializer.Deserialize <Point_With_Array>(Point_With_Array.s_json);

            ((ITestClass)obj1).Verify();

            Point_With_Dictionary obj2 = Serializer.Deserialize <Point_With_Dictionary>(Point_With_Dictionary.s_json);

            ((ITestClass)obj2).Verify();

            Point_With_Object obj3 = Serializer.Deserialize <Point_With_Object>(Point_With_Object.s_json);

            ((ITestClass)obj3).Verify();
        }