@@ -85,20 +85,21 @@ Functions
85
85
Functions can be invoked at the tail end of a path - the input to a function is the output of the path expression.
86
86
The function output is dictated by the function itself.
87
87
88
- | Function | Description | Output type |
89
- | :----------| :-------------------------------------------------------------------------------------| :---------------------|
90
- | 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 |
88
+ | Function | Description | Output type |
89
+ | :-----------| :-------------------------------------------------------------------------------------| :---------------------|
90
+ | 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
+ | distinct() | Provides the unique items of an array | Depends on the array |
102
103
Filter Operators
103
104
-----------------
104
105
0 commit comments