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

Function newStructEncoder

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

Source from the content-addressed store, hash-verified

668}
669
670func newStructEncoder(t reflect.Type) encoderFunc {
671 se := structEncoder{fields: cachedTypeFields(t)}
672 return se.encode
673}
674
675type mapEncoder struct {
676 elemEnc encoderFunc

Callers 1

newTypeEncoderFunction · 0.85

Calls 1

cachedTypeFieldsFunction · 0.85

Tested by

no test coverage detected