TryReadMember() public method

Attempts to locate a member with a given (case-sensitive) name and returns a JsonReader that can be used to read the value. Otherwise it returns null.
The caller should not use the returned JsonReader instance for any other purpose but reading the value. It is possible that this method will return the same instance as BaseReader or a separate instance.
public TryReadMember ( string name ) : Jayrock.Json.JsonReader
name string
return Jayrock.Json.JsonReader
        public void ScopedToCurrentObject()
        {
            FreeJsonMemberReadingHelper helper = CreateHelper("[{},{foo:bar}]");

            helper.BaseReader.ReadToken(JsonTokenClass.Array);
            Assert.IsNull(helper.TryReadMember("foo"));
            Assert.IsNull(helper.TryReadMember("foo"));
        }
        public void ReadingSameMemberMoreThanOnce()
        {
            FreeJsonMemberReadingHelper helper = CreateHelper("{foo:bar}");

            helper.ReadMember("foo").Skip();
            Assert.IsNull(helper.TryReadMember("foo"));
        }
        public void TryReadMemberCaseSensitivity()
        {
            FreeJsonMemberReadingHelper helper = CreateHelper(@"{ y: 456, x: 123, z: 789 }");

            Assert.IsNull(helper.TryReadMember("X"));
        }
        public void TryReadNonExistingMember()
        {
            FreeJsonMemberReadingHelper helper = CreateHelper(@"{ y: 456, x: 123, z: 789 }");

            Assert.IsNull(helper.TryReadMember("foo"));
        }