1
0
mirror of https://github.com/json-iterator/go.git synced 2025-01-20 18:48:32 +02:00
This commit is contained in:
Tao Wen 2017-02-07 09:24:46 +08:00
commit 14f696c6f5

View File

@ -23,9 +23,8 @@ Parse with Go bind-api
```go
import "github.com/json-iterator/go"
iter := jsoniter.ParseString(`[0,1,2,3]`)
val := []int{}
iter.Read(&val)
fmt.Println(val[3])
var := iter.Read()
fmt.Println(val)
```
# Iterator-API for quick extraction
@ -66,4 +65,4 @@ go get github.com/json-iterator/go
# Contribution Welcomed !
Report issue or pull request, or email taowen@gmail.com, or [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/json-iterator/Lobby)
Report issue or pull request, or email taowen@gmail.com, or [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/json-iterator/Lobby)