Browse Source

Update README.md

Co-Authored-By: Alan Wang <948467222@qq.com>
pull/574/head
JBertaux 4 years ago committed by GitHub
parent
commit
dfbaf890f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      README.md

3
README.md

@ -345,7 +345,7 @@ Set a value
The library offers the possibility to set a value.
```java
String newJson = parse(json).set("$['store']['book'][0]['author']", "Paul").jsonString();
String newJson = JsonPath.parse(json).set("$['store']['book'][0]['author']", "Paul").jsonString();
```
@ -478,4 +478,3 @@ CacheProvider.setCache(new Cache() {
[![Analytics](https://ga-beacon.appspot.com/UA-54945131-1/jsonpath/index)](https://github.com/igrigorik/ga-beacon)

Loading…
Cancel
Save