public testChildQuery ( ) |
public function testChildQuery()
{
$result = (new JSONPath($this->exampleData(rand(0, 1))))->find("\$.store.books[(@.length-1)].title");
$this->assertEquals(['The Lord of the Rings'], $result->data());
}