You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed rendering error on $..book[?(@.price <= $['expensive'])] in README.md (#967)
Add code blocks and fix error that says Misplaced @ because of two dollar signs ($) in a JsonPath expression in Path Examples section for `$..book[?(@.price <= $['expensive'])]`
|`min()`| Provides the min value of an array of numbers | Double |
91
+
|`max()`| Provides the max value of an array of numbers | Double |
92
+
|`avg()`| Provides the average value of an array of numbers | Double |
93
+
|`stddev()`| Provides the standard deviation value of an array of numbers | Double |
94
+
|`length()`| Provides the length of an array | Integer |
95
+
|`sum()`| Provides the sum value of an array of numbers | Double |
96
+
|`keys()`| Provides the property keys (An alternative for terminal tilde `~`) |`Set<E>`|
97
+
|`concat(X)`| Provides a concatinated version of the path output with a new item | like input |
98
+
|`append(X)`| add an item to the json path output array | like input |
99
+
|`first()`| Provides the first item of an array | Depends on the array |
100
+
|`last()`| Provides the last item of an array | Depends on the array |
101
+
|`index(X)`| Provides the item of an array of index: X, if the X is negative, take from backwards | Depends on the array |
102
+
102
103
Filter Operators
103
104
-----------------
104
105
105
106
Filters are logical expressions used to filter arrays. A typical filter would be `[?(@.age > 18)]` where `@` represents the current item being processed. More complex filters can be created with logical operators `&&` and `||`. String literals must be enclosed by single or double quotes (`[?(@.color == 'blue')]` or `[?(@.color == "blue")]`).
0 commit comments