Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/francoispqt/gojay
/ MarshalJSONArray
Method
MarshalJSONArray
encode_array_test.go:23–27 ·
view source on GitHub ↗
(enc *Encoder)
Source
from the content-addressed store, hash-verified
21
type
TestEncodingArr []*TestEncoding
22
23
func
(t TestEncodingArr) MarshalJSONArray(enc *Encoder) {
24
for
_, e :=
range
t {
25
enc.AddObject(e)
26
}
27
}
28
func
(t TestEncodingArr) IsNil() bool {
29
return
t == nil
30
}
Callers
nothing calls this directly
Calls
1
AddObject
Method · 0.45
Tested by
no test coverage detected