get(String) uses get(String,Class)
This commit is contained in:
parent
2033f7a151
commit
c05f8e8d76
|
@ -60,7 +60,7 @@ public class JSONPathWrapper {
|
|||
}
|
||||
|
||||
public List<Object> getByPath(String path){
|
||||
return valueCTX.read(path);
|
||||
return getByPath(path,Object.class);
|
||||
}
|
||||
|
||||
public List<String> getMatchingPaths(String path){return pathsCTX.read(path); }
|
||||
|
|
|
@ -42,6 +42,8 @@ public class JSONPathTests {
|
|||
|
||||
@Test
|
||||
public void readElements() throws IOException {
|
||||
JSONPathWrapper documentNavigator=getNavigator("profiledConcessioneExample.json");
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue