|
|
|
@ -239,7 +239,7 @@ String json = "{\"date_as_long\" : 1411455611975}";
|
|
|
|
|
Date date = JsonPath.parse(json).read("$['date_as_long']", Date.class); |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
If you configure JsonPath to use `JacksonMappingProvider` or GsonMappingProvider` you can even map your JsonPath output directly into POJO's. |
|
|
|
|
If you configure JsonPath to use `JacksonMappingProvider` or `GsonMappingProvider` you can even map your JsonPath output directly into POJO's. |
|
|
|
|
|
|
|
|
|
```java |
|
|
|
|
Book book = JsonPath.parse(json).read("$.store.book[0]", Book.class); |
|
|
|
|