Documentation ¶ Overview ¶ Adapted from https://github.com/Anti-Raid/Sandwich-Daemon/blob/master/sandwichjson/json.go Index ¶ Variables func Marshal(v any) ([]byte, error) func MarshalToWriter(writer io.Writer, v any) error func Unmarshal(data []byte, v any) error func UnmarshalReader(reader io.Reader, v any) error Constants ¶ This section is empty. Variables ¶ View Source var UseSonic = runtime.GOARCH == "amd64" && runtime.GOOS == "linux" Functions ¶ func Marshal ¶ func Marshal(v any) ([]byte, error) func MarshalToWriter ¶ func MarshalToWriter(writer io.Writer, v any) error func Unmarshal ¶ func Unmarshal(data []byte, v any) error func UnmarshalReader ¶ func UnmarshalReader(reader io.Reader, v any) error Types ¶ This section is empty. Source Files ¶ View all Source files jsonimpl.go Click to show internal directories. Click to hide internal directories.