Skip to content

Commit 65aaadd

Browse files
committed
Update to 1.2.4 of feeds_jsonpath_parser
1 parent e77ca53 commit 65aaadd

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

www/modules/contrib/feeds_jsonpath_parser/FeedsJSONPathParser.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class FeedsJSONPathParser extends FeedsParser {
118118
* In case the parsed json is not an array.
119119
*/
120120
protected function jsonPath($array, $expression) {
121-
$result = (new JSONPath($array))->find($expression)->getData();
121+
$result = (new JSONPath($array))->find($expression)->data();
122122

123123
// If the returned result is empty, just return an empty array.
124124
if (empty($result)) {

www/modules/contrib/feeds_jsonpath_parser/feeds_jsonpath_parser.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ package = Feeds
1010
; Added by Backdrop CMS packaging script on 2024-11-27
1111
project = feeds_jsonpath_parser
1212
version = 1.x-1.2.4
13-
timestamp = 1732762363
13+
timestamp = 1732776545

www/modules/contrib/feeds_jsonpath_parser/feeds_jsonpath_parser.module

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ function feeds_jsonpath_parser_autoload_info() {
1616
$autoloads = array(
1717
'FeedsJSONPathParser' => 'FeedsJSONPathParser.inc',
1818

19-
// Use proper namespace.
20-
'Flow\JSONPath\JSONPath' => 'libraries/JSONPath/src/Flow/JSONPath/JSONPath.php',
21-
'Flow\JSONPath\JSONPathException' => 'libraries/JSONPath/src/JSONPathException.php',
22-
'Flow\JSONPath\JSONPathLexer' => 'libraries/JSONPath/src/Flow/JSONPath/JSONPathLexer.php',
23-
'Flow\JSONPath\JSONPathToken' => 'libraries/JSONPath/src/Flow/JSONPath/JSONPathToken.php',
24-
'Flow\JSONPath\AccessHelper' => 'libraries/JSONPath/src/Flow/JSONPath/AccessHelper.php',
19+
// Use proper namespace.
20+
'Flow\JSONPath\JSONPath' => 'libraries/JSONPath/src/Flow/JSONPath/JSONPath.php',
21+
'Flow\JSONPath\JSONPathException' => 'libraries/JSONPath/src/Flow/JSONPath/JSONPathException.php',
22+
'Flow\JSONPath\JSONPathLexer' => 'libraries/JSONPath/src/Flow/JSONPath/JSONPathLexer.php',
23+
'Flow\JSONPath\JSONPathToken' => 'libraries/JSONPath/src/Flow/JSONPath/JSONPathToken.php',
24+
'Flow\JSONPath\AccessHelper' => 'libraries/JSONPath/src/Flow/JSONPath/AccessHelper.php',
2525

26-
'Flow\JSONPath\AbstractFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/AbstractFilter.php',
27-
'Flow\JSONPath\IndexesFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/IndexesFilter.php',
28-
'Flow\JSONPath\IndexFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/IndexFilter.php',
29-
'Flow\JSONPath\QueryMatchFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/QueryMatchFilter.php',
30-
'Flow\JSONPath\QueryResultFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/QueryResultFilter.php',
31-
'Flow\JSONPath\RecursiveFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/RecursiveFilter.php',
32-
'Flow\JSONPath\SliceFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/SliceFilter.php',
26+
'Flow\JSONPath\Filters\AbstractFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/AbstractFilter.php',
27+
'Flow\JSONPath\Filters\IndexesFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/IndexesFilter.php',
28+
'Flow\JSONPath\Filters\IndexFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/IndexFilter.php',
29+
'Flow\JSONPath\Filters\QueryMatchFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/QueryMatchFilter.php',
30+
'Flow\JSONPath\Filters\QueryResultFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/QueryResultFilter.php',
31+
'Flow\JSONPath\Filters\RecursiveFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/RecursiveFilter.php',
32+
'Flow\JSONPath\Filters\SliceFilter' => 'libraries/JSONPath/src/Flow/JSONPath/Filters/SliceFilter.php',
3333
);
3434

3535
return $autoloads;

www/modules/contrib/feeds_jsonpath_parser/tests/feeds_jsonpath_parser.tests.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ file = feeds_jsonpath_parser.test
88
; Added by Backdrop CMS packaging script on 2024-11-27
99
project = feeds_jsonpath_parser
1010
version = 1.x-1.2.4
11-
timestamp = 1732762363
11+
timestamp = 1732776545

0 commit comments

Comments
 (0)