MCPcopy Index your code
hub / github.com/segmentio/encoding / constructJSONMarshalerEncodeFunc

Function constructJSONMarshalerEncodeFunc

json/codec.go:810–814  ·  view source on GitHub ↗
(t reflect.Type, pointer bool)

Source from the content-addressed store, hash-verified

808}
809
810func constructJSONMarshalerEncodeFunc(t reflect.Type, pointer bool) encodeFunc {
811 return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) {
812 return e.encodeJSONMarshaler(b, p, t, pointer)
813 }
814}
815
816func constructJSONUnmarshalerDecodeFunc(t reflect.Type, pointer bool) decodeFunc {
817 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {

Callers 2

constructCodecFunction · 0.85
constructSliceCodecFunction · 0.85

Calls 1

encodeJSONMarshalerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…