encoding/json/v2.DefaultOptionsV2
func DefaultOptionsV2() jsonopts.Options
- Kind
- function
- Module
encoding/json/v2- Since
- 1.27
Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
The entries of encoding/json/v2 in the Go reference. This page has 45 cards.
func DefaultOptionsV2() jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Deterministic(bool) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
var ErrUnknownName error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func FormatNilMapAsNull(bool) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func FormatNilSliceAsNull(bool) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func GetOption[$0 interface{}](jsonopts.Options, func($0) jsonopts.Options) ($0, bool)
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func JoinMarshalers(...*typedArshalers[jsontext.Encoder]) *typedArshalers[jsontext.Encoder]
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func JoinOptions(...jsonopts.Options) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func JoinUnmarshalers(...*typedArshalers[jsontext.Decoder]) *typedArshalers[jsontext.Decoder]
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Marshal(interface{}, ...jsonopts.Options) ([]uint8, error)
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func MarshalEncode(*jsontext.Encoder, interface{}, ...jsonopts.Options) error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Marshaler interface { MarshalJSON }
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Marshaler interface, MarshalJSON() ([]uint8, error)
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Marshalers = typedArshalers[jsontext.Encoder]
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type MarshalerTo interface { MarshalJSONTo }
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type MarshalerTo interface, MarshalJSONTo(*jsontext.Encoder) error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func MarshalFunc[$0 interface{}](func($0) ([]uint8, error)) *typedArshalers[jsontext.Encoder]
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func MarshalToFunc[$0 interface{}](func(*jsontext.Encoder, $0) error) *typedArshalers[jsontext.Encoder]
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func MarshalWrite(io.Writer, interface{}, ...jsonopts.Options) error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func MatchCaseInsensitiveNames(bool) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func OmitZeroStructFields(bool) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Options = jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func RejectUnknownMembers(bool) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type SemanticError struct
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type SemanticError struct, ByteOffset int64
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type SemanticError struct, Err error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*SemanticError) Error() string
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type SemanticError struct, GoType reflect.Type
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type SemanticError struct, JSONKind jsontext.Kind
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type SemanticError struct, JSONPointer jsontext.Pointer
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type SemanticError struct, JSONValue jsontext.Value
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*SemanticError) Unwrap() error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func StringifyNumbers(bool) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Unmarshal([]uint8, interface{}, ...jsonopts.Options) error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func UnmarshalDecode(*jsontext.Decoder, interface{}, ...jsonopts.Options) error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Unmarshaler interface { UnmarshalJSON }
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Unmarshaler interface, UnmarshalJSON([]uint8) error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type UnmarshalerFrom interface { UnmarshalJSONFrom }
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type UnmarshalerFrom interface, UnmarshalJSONFrom(*jsontext.Decoder) error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Unmarshalers = typedArshalers[jsontext.Decoder]
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func UnmarshalFromFunc[$0 interface{}](func(*jsontext.Decoder, $0) error) *typedArshalers[jsontext.Decoder]
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func UnmarshalFunc[$0 interface{}](func([]uint8, $0) error) *typedArshalers[jsontext.Decoder]
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func UnmarshalRead(io.Reader, interface{}, ...jsonopts.Options) error
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func WithMarshalers(*typedArshalers[jsontext.Encoder]) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func WithUnmarshalers(*typedArshalers[jsontext.Decoder]) jsonopts.Options
encoding/json/v2Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.