- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MarshalerError (0.51 sec)
-
src/encoding/json/encode.go
return "json: invalid UTF-8 in string: " + strconv.Quote(e.S) } // A MarshalerError represents an error from calling a // [Marshaler.MarshalJSON] or [encoding.TextMarshaler.MarshalText] method. type MarshalerError struct { Type reflect.Type Err error sourceFunc string } func (e *MarshalerError) Error() string { srcFunc := e.sourceFunc if srcFunc == "" { srcFunc = "MarshalJSON"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 36.2K bytes - Viewed (0) -
src/encoding/json/encode_test.go
const errText = "json: test error" tests := []struct { CaseName err *MarshalerError want string }{{ Name(""), &MarshalerError{st, fmt.Errorf(errText), ""}, "json: error calling MarshalJSON for type " + st.String() + ": " + errText, }, { Name(""), &MarshalerError{st, fmt.Errorf(errText), "TestMarshalerError"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"InvalidUnmarshalError", Type, 0}, {"InvalidUnmarshalError.Type", Field, 0}, {"Marshal", Func, 0}, {"MarshalIndent", Func, 0}, {"Marshaler", Type, 0}, {"MarshalerError", Type, 0}, {"MarshalerError.Err", Field, 0}, {"MarshalerError.Type", Field, 0}, {"NewDecoder", Func, 0}, {"NewEncoder", Func, 0}, {"Number", Type, 1}, {"RawMessage", Type, 0}, {"SyntaxError", Type, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.13.txt
pkg debug/elf, type Symbol struct, Library string pkg debug/elf, type Symbol struct, Version string pkg encoding/csv, method (*ParseError) Unwrap() error pkg encoding/json, method (*MarshalerError) Unwrap() error pkg errors, func As(error, interface{}) bool pkg errors, func Is(error, error) bool pkg errors, func Unwrap(error) error pkg go/constant, func Make(interface{}) Value
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 08 18:44:16 UTC 2019 - 452.6K bytes - Viewed (0) -
api/go1.txt
pkg encoding/json, type Marshaler interface { MarshalJSON } pkg encoding/json, type Marshaler interface, MarshalJSON() ([]uint8, error) pkg encoding/json, type MarshalerError struct pkg encoding/json, type MarshalerError struct, Err error pkg encoding/json, type MarshalerError struct, Type reflect.Type pkg encoding/json, type RawMessage []uint8 pkg encoding/json, type SyntaxError struct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)