mirror of https://github.com/tidwall/gjson.git
Missing package alias
This commit is contained in:
parent
b0e589ad0b
commit
e3f249f4fd
|
@ -198,7 +198,7 @@ Returning `false` from an iterator will stop iteration.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
result := gjson.Get(json, "programmers")
|
result := gjson.Get(json, "programmers")
|
||||||
result.ForEach(func(key, value Result) bool{
|
result.ForEach(func(key, value gjson.Result) bool{
|
||||||
println(value.String())
|
println(value.String())
|
||||||
return true // keep iterating
|
return true // keep iterating
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue