encoding/json/v2.SemanticError.GoType (field)

30 uses

	encoding/json/v2 (current package)
		arshal.go#L449: 		return &SemanticError{action: "unmarshal", GoType: reflect.TypeOf(out), Err: internal.ErrNonNilReference}
		arshal_default.go#L1134: 			return newMarshalErrorBefore(enc, errInit.GoType, errInit.Err)
		arshal_default.go#L1136: 			return newMarshalErrorBefore(enc, fields.errUnsupportedFormat.GoType, fields.errUnsupportedFormat.Err)
		arshal_default.go#L1312: 				return newUnmarshalErrorAfter(dec, errInit.GoType, errInit.Err)
		arshal_default.go#L1314: 				return newUnmarshalErrorAfter(dec, fields.errUnsupportedFormat.GoType, fields.errUnsupportedFormat.Err)
		errors.go#L94: 	GoType reflect.Type // may be nil if unknown
		errors.go#L127: 	return &SemanticError{action: "marshal", GoType: t, Err: toUnexpectedEOF(err),
		errors.go#L143: 	return &SemanticError{action: "unmarshal", GoType: t, Err: toUnexpectedEOF(err),
		errors.go#L175: 	return &SemanticError{action: "unmarshal", GoType: t, Err: toUnexpectedEOF(err),
		errors.go#L260: 	serr.GoType = cmp.Or(serr.GoType, t)
		errors.go#L379: 	if e.GoType != nil {
		errors.go#L380: 		typeString := e.GoType.String()
		errors.go#L387: 			typeString = e.GoType.Kind().String()
		errors.go#L388: 			if e.GoType.Kind() == reflect.Struct && e.GoType.Name() == "" {
		errors.go#L389: 				for i := range e.GoType.NumField() {
		errors.go#L390: 					if pkgPath := e.GoType.Field(i).PkgPath; pkgPath != "" {
		fields.go#L82: 		return cmp.Or(serr, &SemanticError{GoType: t, Err: fmt.Errorf(f, a...)})
		fields.go#L113: 				serr = cmp.Or(serr, &SemanticError{GoType: t, Err: err})
		fields.go#L259: 					fs.errUnsupportedFormat = &SemanticError{GoType: t, Err: fmt.Errorf("Go struct field %s has unsupported `format` tag option", sf.Name)}
		fields.go#L281: 			serr = cmp.Or(serr, &SemanticError{GoType: t, Err: errNoExportedFields})

	encoding/json
		v2_decode.go#L259: 			return &jsonv2.SemanticError{JSONKind: val0.Kind(), JSONValue: val0.Clone(), GoType: numberType, Err: strconv.ErrSyntax}
		v2_decode.go#L270: 	return &jsonv2.SemanticError{JSONKind: k, GoType: numberType}
		v2_inject.go#L44: 			return &UnsupportedTypeError{Type: err.GoType}
		v2_inject.go#L53: 			if err.Err == internal.ErrCycle && err.GoType != nil {
		v2_inject.go#L54: 				errStr += " via " + err.GoType.String()
		v2_inject.go#L74: 			return &InvalidUnmarshalError{err.GoType}
		v2_inject.go#L128: 			if isStrconvError && isNumericKind(err.GoType) {
		v2_inject.go#L149: 			Type:   err.GoType,