Browse Source

Updated versions in docs.

pull/57/head
Kalle Stenflo 10 years ago
parent
commit
b9f67ce614
  1. 2
      Procfile
  2. 12
      README.md
  3. 24
      changelog.md

2
Procfile

@ -1 +1 @@
web: java $JAVA_OPTS -Dserver.http.port=$PORT -DresourceBase=json-path-web-test/target/classes/webapp/ -jar json-path-web-test/target/json-path-web-test-1.0.1-SNAPSHOT.one-jar.jar web: java $JAVA_OPTS -Dserver.http.port=$PORT -DresourceBase=json-path-web-test/target/classes/webapp/ -jar json-path-web-test/target/json-path-web-test-*.one-jar.jar

12
README.md

@ -1,5 +1,5 @@
Jayway JsonPath (1.0.0) Jayway JsonPath 1.1.0
=============== =====================
**A Java DSL for reading JSON documents.** **A Java DSL for reading JSON documents.**
@ -10,7 +10,10 @@ Jayway JsonPath is a Java port of [Stefan Goessner JsonPath implementation](http
News News
---- ----
26 Sep 2014 - JsonPath 1.0.0 was released 01 Oct 2014 - Released JsonPath 1.1.0
26 Sep 2014 - Released JsonPath 1.0.0
For details see [change log](changelog.md).
Getting Started Getting Started
--------------- ---------------
@ -21,7 +24,7 @@ JsonPath is available at the Central Maven Repository. Maven users add this to y
<dependency> <dependency>
<groupId>com.jayway.jsonpath</groupId> <groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId> <artifactId>json-path</artifactId>
<version>1.0.0</version> <version>1.1.0</version>
</dependency> </dependency>
``` ```
@ -181,7 +184,6 @@ When evaluating a path you need to understand the concept of when a path is `def
* `..` - a deep scan operator * `..` - a deep scan operator
* `?(<expression>)` - an expression * `?(<expression>)` - an expression
* `[<number>, <number> (, <number>)]` - multiple array indexes * `[<number>, <number> (, <number>)]` - multiple array indexes
* `['<name>', '<name>' (, '<name>')]` - multiple object properties
`Indefinite` paths always returns a list. `Indefinite` paths always returns a list.

24
changelog.md

@ -0,0 +1,24 @@
1.1.0 (2014-10-01)
==================
* Reintroduced method JsonProvider.createMap(). This should never have been removed. **NOTE: This is a breaking change if you implemented your own JsonProvider based on the 1.0.0 API**
* Filters threw exception if an item being filtered did not contain the path being filtered upon.
* Multi-property selects works as it did in 0.9. e.g. `$[*]['category', 'price']`
* Cache results when predicates refer to path in document e.g. `$[*][?(@.price <= $.max-price)]` will only evaluate `$.max-price` once.
1.0.0 (2014-09-26)
==================
* Complete rewrite of internals. Major API changes.
* Better compliance with the Goessner implementation
Release history
===============
* 0.9.0 (2013-09-26)
* 0.8.1 (2012-04-16)
* 0.8.0 (2012-03-08)
* 0.5.6 (2012-02-09)
* 0.5.5 (2011-07-15)
* 0.5.4 (2011-06-26)
* 0.5.3 (2011-02-18)
* 0.5.2 (2011-02-08)
Loading…
Cancel
Save