Skip to content

Commit 07d4e00

Browse files
authored
Merge pull request #54 from williamrhancock/master
Update README.md
2 parents 183ade1 + 18fc3c9 commit 07d4e00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ data := []byte(`{
4242
// You can specify key path by providing arguments to Get function
4343
jsonparser.Get(data, "person", "name", "fullName")
4444

45-
// There is `GetNumber` and `GetBoolean` helpers if you exactly know key data type
46-
jsonparser.GetNumber(data, "person", "github", "followers")
45+
// There is `GetInt` and `GetBoolean` helpers if you exactly know key data type
46+
jsonparser.GetInt(data, "person", "github", "followers")
4747

4848
// When you try to get object, it will return you []byte slice pointer to data containing it
4949
// In `company` it will be `{"name": "Acme"}`

0 commit comments

Comments
 (0)