var encoding/json.marshalerType
4 uses
encoding/json (current package)
encode.go#L411: marshalerType = reflect.TypeOf((*Marshaler)(nil)).Elem()
encode.go#L422: if t.Kind() != reflect.Ptr && allowAddr && reflect.PtrTo(t).Implements(marshalerType) {
encode.go#L425: if t.Implements(marshalerType) {
encode.go#L896: if !p.Implements(marshalerType) && !p.Implements(textMarshalerType) {
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)