@@ -9,33 +9,6 @@ Jayway JsonPath
99
1010Jayway JsonPath is a Java port of [ Stefan Goessner JsonPath implementation] ( http://goessner.net/articles/JsonPath/ ) . 
1111
12- News
13- ---- 
14- 26 Mar 2023 - Released JsonPath 2.8.0
15- 
16- 30 Jan 2022 - Released JsonPath 2.7.0
17- 
18- 02 Jun 2021 - Released JsonPath 2.6.0 
19- 
20- 10 Dec 2020 - Released JsonPath 2.5.0
21- 
22- 05 Jul 2017 - Released JsonPath 2.4.0
23- 
24- 26 Jun 2017 - Released JsonPath 2.3.0
25- 
26- 29 Feb 2016 - Released JsonPath 2.2.0
27- 
28- 22 Nov 2015 - Released JsonPath 2.1.0
29- 
30- 19 Mar 2015 - Released JsonPath 2.0.0
31- 
32- 11 Nov 2014 - Released JsonPath 1.2.0
33- 
34- 01 Oct 2014 - Released JsonPath 1.1.0  
35- 
36- 26 Sep 2014 - Released JsonPath 1.0.0 
37- 
38- 
3912Getting Started
4013--------------- 
4114
@@ -45,7 +18,7 @@ JsonPath is available at the Central Maven Repository. Maven users add this to y
4518<dependency >
4619    <groupId >com.jayway.jsonpath</groupId >
4720    <artifactId >json-path</artifactId >
48-     <version >2.8 .0</version >
21+     <version >2.9 .0</version >
4922</dependency >
5023``` 
5124
@@ -232,10 +205,10 @@ try to cast the result to the type expected by the invoker.
232205
233206``` java 
234207// Will throw an java.lang.ClassCastException    
235- List<String >  list =  JsonPath . parse(json). read(" $.store.book[0].author" 
208+ List<String >  list =  JsonPath . parse(json). read(" $.store.book[0].author" ; 
236209
237210// Works fine
238- String  author =  JsonPath . parse(json). read(" $.store.book[0].author" 
211+ String  author =  JsonPath . parse(json). read(" $.store.book[0].author" ; 
239212``` 
240213
241214When evaluating a path you need to understand the concept of when a path is ` definite ` . A path is ` indefinite `  if it contains:
0 commit comments