Exemple #1
0
        public void ObjectWithNonGeneric()
        {
            object o   = new LocalDateTime();
            var    bin = MessagePackSerializer.NonGeneric.Serialize(o.GetType(), o);
            var    res = MessagePackSerializer.NonGeneric.Deserialize(o.GetType(), bin);

            Assert.Equal(o, res);
        }