mirror of
https://github.com/json-iterator/go.git
synced 2025-01-23 18:54:21 +02:00
Merge branch 'master' of https://github.com/json-iterator/go
This commit is contained in:
commit
14f696c6f5
@ -23,9 +23,8 @@ Parse with Go bind-api
|
|||||||
```go
|
```go
|
||||||
import "github.com/json-iterator/go"
|
import "github.com/json-iterator/go"
|
||||||
iter := jsoniter.ParseString(`[0,1,2,3]`)
|
iter := jsoniter.ParseString(`[0,1,2,3]`)
|
||||||
val := []int{}
|
var := iter.Read()
|
||||||
iter.Read(&val)
|
fmt.Println(val)
|
||||||
fmt.Println(val[3])
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Iterator-API for quick extraction
|
# Iterator-API for quick extraction
|
||||||
@ -66,4 +65,4 @@ go get github.com/json-iterator/go
|
|||||||
|
|
||||||
# Contribution Welcomed !
|
# 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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user