public void JObject_IndexedName_WithArray_Test1() { var path = new JObjectPath(x => x.ScanArr["a"]); path.IndexedName(new object[] { 2, "a" }).Should().Be("[2].a"); }
public void JObject_IndexedName_WithArray_Test() { var path = new JObjectPath(x => x["a"].ScanArr); path.IndexedName(new object[] { "a", 2 }).Should().Be("a.[2]"); }