fixed typo in example

This commit is contained in:
Josh Baker 2016-08-24 08:06:20 -07:00 committed by GitHub
parent c6faea1947
commit 0669befdc3

View File

@ -166,8 +166,8 @@ For example, all of these will return the same result:
```go
gjson.Parse(json).Get("name").Get("last")
gjson.Get("name").Get("last")
gjson.Get("name.last")
gjson.Get(json, "name").Get("last")
gjson.Get(json, "name.last")
```
## Check for the existence of a value