You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-30 23:23:49 +02:00
Formated, doced. Also fixed few minor bugs.
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
[](https://goreportcard.com/report/github.com/json-iterator/go)
|
||||
|
||||
jsoniter (json-iterator) is fast and flexible JSON parser available in [Java](https://github.com/json-iterator/java) and [Go](https://github.com/json-iterator/go)
|
||||
|
||||
# Why jsoniter?
|
||||
@ -37,7 +39,7 @@ import "github.com/json-iterator/go"
|
||||
iter := ParseString(`[0, [1, 2], [3, 4], 5]`)
|
||||
count := 0
|
||||
for iter.ReadArray() {
|
||||
iter.skip()
|
||||
iter.Skip()
|
||||
count++
|
||||
}
|
||||
fmt.Println(count) // 4
|
||||
|
Reference in New Issue
Block a user