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

Function constructJSONUnmarshalerDecodeFunc

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

Source from the content-addressed store, hash-verified

814}
815
816func constructJSONUnmarshalerDecodeFunc(t reflect.Type, pointer bool) decodeFunc {
817 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {
818 return d.decodeJSONUnmarshaler(b, p, t, pointer)
819 }
820}
821
822func constructTextMarshalerEncodeFunc(t reflect.Type, pointer bool) encodeFunc {
823 return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) {

Callers 3

constructCodecFunction · 0.85
constructSliceCodecFunction · 0.85
codec.goFile · 0.85

Calls 1

decodeJSONUnmarshalerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…