MCPcopy Create free account
hub / github.com/buger/jsonparser / ArrayEach

Method ArrayEach

config.go:79–81  ·  view source on GitHub ↗

ArrayEach iterates over the addressed array using c's parsing options. SYS-REQ-115

(data []byte, cb func([]byte, ValueType, int, error), keys ...string)

Source from the content-addressed store, hash-verified

77// ArrayEach iterates over the addressed array using c's parsing options.
78// SYS-REQ-115
79func (c Config) ArrayEach(data []byte, cb func([]byte, ValueType, int, error), keys ...string) (int, error) {
80 return arrayEachConfig(c, data, cb, keys...)
81}
82
83// ObjectEach iterates over the addressed object using c's parsing options.
84// SYS-REQ-115

Callers 2

TestCompiledPathMethodsFunction · 0.45

Calls 1

arrayEachConfigFunction · 0.85

Tested by 2

TestCompiledPathMethodsFunction · 0.36