示例#1
0
        public void SerializeComplexObject()
        {
            var c = ComplexObject.Create();

            Assert.True(ComplexObject.IsSame(c));

            var s = VPack.Serialize(c);
            var d = VPack.Deserialize <ComplexObject>(s);

            Assert.True(ComplexObject.IsSame(d));
        }