MCPcopy Create free account
hub / github.com/blues/note / newArrayEncoder

Function newArrayEncoder

jsonxt/encode.go:793–796  ·  view source on GitHub ↗
(t reflect.Type)

Source from the content-addressed store, hash-verified

791}
792
793func newArrayEncoder(t reflect.Type) encoderFunc {
794 enc := arrayEncoder{typeEncoder(t.Elem())}
795 return enc.encode
796}
797
798type ptrEncoder struct {
799 elemEnc encoderFunc

Callers 2

newTypeEncoderFunction · 0.85
newSliceEncoderFunction · 0.85

Calls 1

typeEncoderFunction · 0.85

Tested by

no test coverage detected