You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-24 23:16:47 +02:00
#59 add ConfigFastest
This commit is contained in:
@ -16,7 +16,7 @@ func Test_bind_api_demo(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_iterator_api_demo(t *testing.T) {
|
||||
iter := ParseString(ConfigOfDefault, `[0,1,2,3]`)
|
||||
iter := ParseString(ConfigDefault, `[0,1,2,3]`)
|
||||
total := 0
|
||||
for iter.ReadArray() {
|
||||
total += iter.ReadInt()
|
||||
|
Reference in New Issue
Block a user