Update README.md

This commit is contained in:
Josh Baker 2016-08-22 06:13:09 -07:00 committed by GitHub
parent ad7311075f
commit b661f333a3
1 changed files with 3 additions and 3 deletions

View File

@ -165,9 +165,9 @@ There's a `Parse(json)` function that will do a simple parse, and `result.Get(pa
For example, all of these will return the same result:
```go
Parse(json).Get("name").Get("last")
Get("name").Get("last")
Get("name.last")
gjson.Parse(json).Get("name").Get("last")
gjson.Get("name").Get("last")
gjson.Get("name.last")
```
## Check for the existence of a value