json

package
v1.7.13 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader, data any) (err error)

func Encode

func Encode(w io.Writer, data any) (err error)

func Marshal

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

func MarshalIndent

func MarshalIndent(data any, pref, ind string) ([]byte, error)

func Unmarshal

func Unmarshal(data []byte, i 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