MCPcopy
hub / github.com/buger/jsonparser / toStringArray

Function toStringArray

parser_test.go:25–31  ·  view source on GitHub ↗

Test helper for SYS-REQ-006 and SYS-REQ-008.

(data []byte)

Source from the content-addressed store, hash-verified

23
24// Test helper for SYS-REQ-006 and SYS-REQ-008.
25func toStringArray(data []byte) (result []string) {
26 ArrayEach(data, func(value []byte, dataType ValueType, offset int, err error) {
27 result = append(result, string(value))
28 })
29
30 return
31}
32
33type GetTest struct {
34 desc string

Callers 1

TestGetSliceFunction · 0.85

Calls 1

ArrayEachFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…