public void Setup()
        {
            personToSerialize = new Person()
            {
                FullName = "Stefán Jökull Sigurðarson",
                Birthday = new DateTime(1979, 11, 23),
                Tags     = new Dictionary <string, string>
                {
                    { "Interest1", "Judo" },
                    { "Interest2", "Music" }
                }
            };

            personBond           = BenchmarksHelper.SerializeBond(personToSerialize);
            personProtobuf       = BenchmarksHelper.SerializeProtobuf(personToSerialize);
            personJsonNet        = JsonConvert.SerializeObject(personToSerialize);
            personJsonJil        = Jil.JSON.Serialize(personToSerialize);
            personJsonNetBuffers = BenchmarksHelper.SerializeJsonNetBuffers(personToSerialize);
        }
 public void JsonNetWithBuffersDeserialization()
 {
     BenchmarksHelper.DeserializeJsonNetBuffers <Person>(personJsonNetBuffers);
 }
 public void BondDeserialize()
 {
     BenchmarksHelper.DeserializeBond <Person>(personBond);
 }
 public void ProtobufDeserialize()
 {
     BenchmarksHelper.DeserializeProtobuf <Person>(personProtobuf);
 }
 public void ProtobufSerialize()
 {
     BenchmarksHelper.SerializeProtobuf(personToSerialize);
 }
 public void JsonNetSerializationWithBuffers()
 {
     BenchmarksHelper.SerializeJsonNetBuffers(personToSerialize);
 }
 public void BondSerialize()
 {
     BenchmarksHelper.SerializeBond(personToSerialize);
 }