Browse Source

Add a part in the readme describing how to set a value

pull/574/head
Jérôme Bertaux 5 years ago
parent
commit
4c97e0aa77
  1. 9
      README.md

9
README.md

@ -340,6 +340,15 @@ assertThat(pathList).containsExactly(
"$['store']['book'][3]['author']");
```
Set a value
-----------
The library offers the possibility to set a value.
```java
String newJson = parse(json).set("$['store']['book'][0]['author']", "Paul").jsonString();
```
Tweaking Configuration
----------------------

Loading…
Cancel
Save