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

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: For example, all of these will return the same result:
```go ```go
Parse(json).Get("name").Get("last") gjson.Parse(json).Get("name").Get("last")
Get("name").Get("last") gjson.Get("name").Get("last")
Get("name.last") gjson.Get("name.last")
``` ```
## Check for the existence of a value ## Check for the existence of a value