jsonx

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v any) ([]byte, error)

func Unmarshal

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

Types

type Decoder

type Decoder = sonic.Decoder

func NewDecoder

func NewDecoder(r io.Reader) Decoder

type Encoder

type Encoder = sonic.Encoder

func NewEncoder

func NewEncoder(w io.Writer) Encoder

type Number

type Number = json.Number

type RawMessage

type RawMessage = json.RawMessage

type SyntaxError

type SyntaxError = decoder.SyntaxError

type UnmarshalTypeError

type UnmarshalTypeError = decoder.MismatchTypeError

Jump to

Keyboard shortcuts

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