public void JObject_PathName_WithArray_Test1() { var path = new JObjectPath(x => x.ScanArr["a"]); path.PathName().Should().Be("JObject : [].a"); }
public void JObject_PathName_Empty_Test() { var path = new JObjectPath(x => x); path.PathName().Should().Be("JObject"); }
public void JObject_PathName_WithArray_Test() { var path = new JObjectPath(x => x["a"].ScanArr); path.PathName().Should().Be("JObject : a.[]"); }
public void JObject_PathName_Test() { var path = new JObjectPath(x => x["field"]["other"]); path.PathName().Should().Be("JObject : field.other"); }