json

package
v0.0.0-...-163abcc Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(data []byte, path ...interface{}) (ast.Node, error)

func Marshal

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

func NewDecoder

func NewDecoder(reader io.Reader) sonic.Decoder

func NewEncoder

func NewEncoder(writer io.Writer) sonic.Encoder

func Unmarshal

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

Types

type RawMessage

type RawMessage []byte

func (RawMessage) MarshalJSON

func (m RawMessage) MarshalJSON() ([]byte, error)

MarshalJSON returns m as the JSON encoding of m.

func (*RawMessage) UnmarshalJSON

func (m *RawMessage) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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