Browse Source

Fixed a missing backtick

pull/449/head
Wes Gilleland 7 years ago committed by GitHub
parent
commit
961cc85c34
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