public function testRecursiveChildSearchWithChildIndex() { $result = (new JSONPath($this->exampleData(rand(0, 1))))->find("\$..books[2].title"); $this->assertEquals(["Moby Dick"], $result->data()); }