コード例 #1
0
        public void JsonNetValueSystem_JObject_ReturnFalse()
        {
            IJsonPathValueSystem ValueSystem;

            ValueSystem = new JsonNetValueSystem();
            Assert.IsFalse(ValueSystem.IsObject(new object()));
        }
コード例 #2
0
        public void JsonNetValueSystem_JObject_ReturnTrue()
        {
            IJsonPathValueSystem ValueSystem;
            var results = JObject.Parse(_jsonObject);

            ValueSystem = new JsonNetValueSystem();
            Assert.IsTrue(ValueSystem.IsObject(results));
        }