type encoding/json/v2.SemanticError

26 uses

	encoding/json/v2 (current package)
		arshal.go#L449: 		return &SemanticError{action: "unmarshal", GoType: reflect.TypeOf(out), Err: internal.ErrNonNilReference}
		arshal_default.go#L1117: 		errInit *SemanticError
		errors.go#L49: 	_, ok := err.(*SemanticError)
		errors.go#L76: type SemanticError struct {
		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#L185: 	serr := newUnmarshalErrorAfter(d, t, err).(*SemanticError)
		errors.go#L220: 	serr, _ := err.(*SemanticError)
		errors.go#L222: 		serr = &SemanticError{Err: err}
		errors.go#L305: 	if serr1, ok := err.(*SemanticError); ok {
		errors.go#L306: 		if serr2, ok := serr1.Err.(*SemanticError); ok {
		errors.go#L335: func (e *SemanticError) Error() string {
		errors.go#L443: func (e *SemanticError) Unwrap() error {
		fields.go#L37: 	errUnsupportedFormat *SemanticError
		fields.go#L80: func makeStructFields(root reflect.Type) (fs structFields, serr *SemanticError) {
		fields.go#L81: 	orErrorf := func(serr *SemanticError, t reflect.Type, f string, a ...any) *SemanticError {
		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#L40: 	if err, ok := err.(*jsonv2.SemanticError); err != nil {
		v2_inject.go#L72: 	if err, ok := err.(*jsonv2.SemanticError); err != nil {