We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 183ade1 + 18fc3c9 commit 07d4e00Copy full SHA for 07d4e00
README.md
@@ -42,8 +42,8 @@ data := []byte(`{
42
// You can specify key path by providing arguments to Get function
43
jsonparser.Get(data, "person", "name", "fullName")
44
45
-// There is `GetNumber` and `GetBoolean` helpers if you exactly know key data type
46
-jsonparser.GetNumber(data, "person", "github", "followers")
+// There is `GetInt` and `GetBoolean` helpers if you exactly know key data type
+jsonparser.GetInt(data, "person", "github", "followers")
47
48
// When you try to get object, it will return you []byte slice pointer to data containing it
49
// In `company` it will be `{"name": "Acme"}`
0 commit comments