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

Method ArrayEach

path_compiler.go:209–211  ·  view source on GitHub ↗

ArrayEach iterates over the array at the compiled path. SYS-REQ-114

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

Source from the content-addressed store, hash-verified

207// ArrayEach iterates over the array at the compiled path.
208// SYS-REQ-114
209func (c CompiledPath) ArrayEach(data []byte, cb func([]byte, ValueType, int, error)) (int, error) {
210 return ArrayEach(data, cb, c.parts...)
211}
212
213// EachKey resolves the compiled path using EachKey.
214// SYS-REQ-114

Callers

nothing calls this directly

Calls 1

ArrayEachFunction · 0.85

Tested by

no test coverage detected