Skip to content

Commit

Permalink
Update Readme for 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Peekmo committed May 18, 2014
1 parent d7b75d9 commit b5e14d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Consider this json :
```

It returns an array, you can so use default [functions](http://php.net/manual/fr/ref.array.php) on the result (Have unique key for example)
From 1.1.0, it returns an empty array if the node does not exists

- You can change a value like this :

Expand All @@ -111,6 +112,7 @@ It returns an array, you can so use default [functions](http://php.net/manual/fr
```

The value is passed by reference, so, when you are using a set, your object "$o" is modified.
It returns a boolean to know if the node has been modified or not

- You can add a value like this :

Expand All @@ -135,6 +137,7 @@ The value is passed by reference, so, when you are using a set, your object "$o"
```

The parameter "key" is optional, a number will be set if you're not providing one.
It returns a boolean to know if the node has been modified or not

- You can remove an attribute like this :

Expand Down

0 comments on commit b5e14d9

Please sign in to comment.