fixed typo in example
This commit is contained in:
parent
c6faea1947
commit
0669befdc3
|
@ -166,8 +166,8 @@ For example, all of these will return the same result:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
gjson.Parse(json).Get("name").Get("last")
|
gjson.Parse(json).Get("name").Get("last")
|
||||||
gjson.Get("name").Get("last")
|
gjson.Get(json, "name").Get("last")
|
||||||
gjson.Get("name.last")
|
gjson.Get(json, "name.last")
|
||||||
```
|
```
|
||||||
|
|
||||||
## Check for the existence of a value
|
## Check for the existence of a value
|
||||||
|
|
Loading…
Reference in New Issue
Block a user