diff --git a/Cargo.toml b/Cargo.toml index 6058f0e..2d8a61d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "json_dotpath" -version = "1.0.0" +version = "1.0.1" authors = ["Ondřej Hruška "] edition = "2018" license = "MIT" diff --git a/README.md b/README.md index b41af02..7aae8b1 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Five principal methods are added by the `DotPaths` trait to `serde_json::Value`, - `dot_get_mut(path)` - get a mutable reference to an element of the JSON object - `dot_set(path, value)` - set a new value, dropping the original (if any) - `dot_replace(path, value)` - set a new value, returning the original (if any) -- `dot_take(path, value)` - remove a value by path, returning it (if any) +- `dot_take(path)` - remove a value by path, returning it (if any) `dot_set()` supports array manipulation syntax not found in the other methods, namely the `>n` and `