From cdf0f33346a2fef1d0d596f1aad56862e4ce989a Mon Sep 17 00:00:00 2001 From: kallestenflo Date: Mon, 22 Sep 2014 20:39:47 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b311433c..4ca4c1a2 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ as shown below. Date date = JsonPath.parse(json).read("$.store.book[0].published", Date.class) ``` -If you use the `JacksonJsonProvider` you can even map your JsonPath output directly into POJO's. +If you configure JsonPath to use the `JacksonMappingProvider` you can even map your JsonPath output directly into POJO's. ```java Book book = JsonPath.parse(json).read("$.store.book[0]", Book.class) @@ -185,7 +185,7 @@ There are three different ways to create filter predicates in JsonPath. ###Inline predicates -These are predicates baked right into to your path. +Inline predicates are the ones defined in the path. ```java List> books = JsonPath.parse(json).read("$.store.book[?(@.price < 10)]"); @@ -268,7 +268,7 @@ Configuration.setDefaults(new Configuration.Defaults() { @Override public MappingProvider mappingProvider() { - return new DefaultMappingProvider(); + return new JacksonMappingProvider(); } @Override