Пример #1
0
        private void TestCorrectSerialization <T>(string json)
        {
            json = json.StripWhitespace();

            var deserialized = serializer.Deserialize <T>(json);
            var serialized   = serializer.Serialize(deserialized).StripWhitespace();

            Assert.AreEqual(json, serialized);
        }