Documentation ¶
Index ¶
- func Marshal(v any) ([]byte, error)
- func MarshalString(v any) (string, error)
- func MarshalToFile(filename string, v any) error
- func MustMarshal(v any) []byte
- func MustMarshalString(v any) string
- func MustMarshalToFile(filename string, v any)
- func MustUnmarshalFromFile(filename string, v any)
- func NewDecoder(r io.Reader) sonic.Decoder
- func NewEncoder(w io.Writer) sonic.Encoder
- func Unmarshal(data []byte, v any) error
- func UnmarshalFromFile(filename string, v any) error
- func UnmarshalString(data string, v any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalString ¶
func MarshalToFile ¶
func MustMarshal ¶
func MustMarshalString ¶
func MustMarshalToFile ¶
func MustUnmarshalFromFile ¶
func UnmarshalFromFile ¶
func UnmarshalString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.