json

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v interface{}) ([]byte, error)

func MarshalReader added in v1.9.0

func MarshalReader(v interface{}) (io.Reader, error)

func NewDecoder

func NewDecoder(r io.Reader) sonic.Decoder

func NewEncoder

func NewEncoder(w io.Writer) sonic.Encoder

func Unmarshal

func Unmarshal(data []byte, v any) error

Types

type Number

type Number = json.Number

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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