MCPcopy Create free account
hub / github.com/francoispqt/gojay / MarshalJSONArray

Method MarshalJSONArray

encode_array_test.go:34–38  ·  view source on GitHub ↗
(enc *Encoder)

Source from the content-addressed store, hash-verified

32type testEncodingArrInterfaces []interface{}
33
34func (t testEncodingArrInterfaces) MarshalJSONArray(enc *Encoder) {
35 for _, e := range t {
36 enc.AddInterface(e)
37 }
38}
39func (t testEncodingArrInterfaces) IsNil() bool {
40 return t == nil
41}

Callers

nothing calls this directly

Calls 1

AddInterfaceMethod · 0.45

Tested by

no test coverage detected