jsonimpl

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Overview

Adapted from https://github.com/Anti-Raid/Sandwich-Daemon/blob/master/sandwichjson/json.go

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL