Exemple #1
0
        public void MissingMemberGetsDeserializedToNull()
        {
            string json = "{}";

            POCOType deserializedObject = Deserialize(json, typeof(POCOType)) as POCOType;

            Assert.Null(deserializedObject.s);
        }
        public async Task MissingMemberGetsDeserializedToNull()
        {
            string json = "{}";

            POCOType deserializedObject = (await DeserializeAsync(json, typeof(POCOType))) as POCOType;

            Assert.Null(deserializedObject.s);
        }