We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77cba3d commit beeb5a9Copy full SHA for beeb5a9
src/Codeception/Util/JsonArray.php
@@ -85,9 +85,9 @@ public function filterByXPath($xpath)
85
public function filterByJsonPath($jsonPath)
86
{
87
if (!class_exists('Flow\JSONPath\JSONPath')) {
88
- throw new \Exception('JSONPath library not installed. Please add `flow/jsonpath` to composer.json');
+ throw new \Exception('JSONPath library not installed. Please add `softcreatr/jsonpath` to composer.json');
89
}
90
- return (new JSONPath($this->jsonArray))->find($jsonPath)->data();
+ return (new JSONPath($this->jsonArray))->find($jsonPath)->getData();
91
92
93
public function getXmlString()
0 commit comments