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

Function EachObject

aliases.go:11–13  ·  view source on GitHub ↗

SYS-REQ-007, SYS-REQ-030, SYS-REQ-031, SYS-REQ-032, SYS-REQ-054, SYS-REQ-084 EachObject is the canonical name; ObjectEach is kept for backward compatibility.

(data []byte, cb func(key []byte, value []byte, dataType ValueType, offset int) error, keys ...string)

Source from the content-addressed store, hash-verified

9// SYS-REQ-007, SYS-REQ-030, SYS-REQ-031, SYS-REQ-032, SYS-REQ-054, SYS-REQ-084
10// EachObject is the canonical name; ObjectEach is kept for backward compatibility.
11func EachObject(data []byte, cb func(key []byte, value []byte, dataType ValueType, offset int) error, keys ...string) error {
12 return ObjectEach(data, cb, keys...)
13}
14
15// SYS-REQ-004
16// EachArrayErr is the canonical name; ArrayEachErr is kept for backward compatibility.

Callers 1

TestEachObjectAliasFunction · 0.85

Calls 1

ObjectEachFunction · 0.85

Tested by 1

TestEachObjectAliasFunction · 0.68