Browse Source

Merge pull request #449 from Deathnerd/patch-1

Fixed a missing backtick
pull/517/head
kallestenflo 6 years ago committed by GitHub
parent
commit
299bc1c265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md

2
README.md

@ -239,7 +239,7 @@ String json = "{\"date_as_long\" : 1411455611975}";
Date date = JsonPath.parse(json).read("$['date_as_long']", Date.class); 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 ```java
Book book = JsonPath.parse(json).read("$.store.book[0]", Book.class); Book book = JsonPath.parse(json).read("$.store.book[0]", Book.class);

Loading…
Cancel
Save