Skip to content

Commit 14526d6

Browse files
committed
OPM-2260 Release master to have functions working see, json-path#377
Change-Id: I605fe8fd74bb2a7d0a01edfe42b31e62480e4b97
1 parent 6c738c9 commit 14526d6

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Jayway JsonPath
1+
Jayway JsonPath (bol version)
22
=====================
33

44
**A Java DSL for reading JSON documents.**
@@ -11,6 +11,8 @@ Jayway JsonPath is a Java port of [Stefan Goessner JsonPath implementation](http
1111

1212
News
1313
----
14+
18 Jun 2018 - Released JsonPath 2.5.0 - **Bol edition**
15+
1416
05 Jul 2017 - Released JsonPath 2.4.0
1517

1618
26 Jun 2017 - Released JsonPath 2.3.0
@@ -35,9 +37,9 @@ JsonPath is available at the Central Maven Repository. Maven users add this to y
3537

3638
```xml
3739
<dependency>
38-
<groupId>com.jayway.jsonpath</groupId>
40+
<groupId>com.bol.jsonpath</groupId>
3941
<artifactId>json-path</artifactId>
40-
<version>2.3.0</version>
42+
<version>2.5.0</version>
4143
</dependency>
4244
```
4345

@@ -74,8 +76,8 @@ Operators
7476
Functions
7577
---------
7678

77-
Functions can be invoked at the tail end of a path - the input to a function is the output of the path expression.
78-
The function output is dictated by the function itself.
79+
Functions can be invoked at the beginning of a path - the input to a function is the output of the path expression.
80+
The function output is dictated by the function itself.
7981

8082
| Function | Description | Output |
8183
| :------------------------ | :----------------------------------------------------------------- |-----------|
@@ -85,6 +87,8 @@ The function output is dictated by the function itself.
8587
| stddev() | Provides the standard deviation value of an array of numbers | Double |
8688
| length() | Provides the length of an array | Integer |
8789

90+
`Example: $.avg($.store.book[*].price)`
91+
8892

8993
Filter Operators
9094
-----------------

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ allprojects {
3030
ext.displayName = null
3131
ext.buildTimestamp = new Date().format('yyyy-MM-dd HH:mm:ss')
3232

33-
group = 'com.jayway.jsonpath'
34-
version = '2.4.0' + (snapshotVersion ? "-SNAPSHOT" : "")
33+
group = 'com.bol.jsonpath'
34+
version = '2.5.0' + (snapshotVersion ? "-SNAPSHOT" : "")
3535

3636
if (JavaVersion.current().isJava8Compatible()) {
3737
tasks.withType(Javadoc) {

0 commit comments

Comments
 (0)