Documentation ¶
Index ¶
- func GenericUnmarshal[V any](data []byte, unmarshal func(data []byte, v any) error) (V, error)
- func RegisterDecoderFactory(name string, factory DecoderFactory)
- func RegisterEncoderFactory(name string, factory EncoderFactory)
- type Decoder
- type DecoderFactory
- type Encoder
- type EncoderFactory
- type JSONEncoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericUnmarshal ¶
func RegisterDecoderFactory ¶
func RegisterDecoderFactory(name string, factory DecoderFactory)
func RegisterEncoderFactory ¶
func RegisterEncoderFactory(name string, factory EncoderFactory)
Types ¶
type DecoderFactory ¶
func GetDecoderFactory ¶
func GetDecoderFactory(name string) DecoderFactory
type EncoderFactory ¶
func GetEncoderFactory ¶
func GetEncoderFactory(name string) EncoderFactory
type JSONEncoder ¶
Click to show internal directories.
Click to hide internal directories.