json

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: OSL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Marshal    = json.Marshal
	NewDecoder = json.NewDecoder
	NewEncoder = json.NewEncoder
	Unmarshal  = json.Unmarshal
)

Functions

func Decode added in v1.28.8

func Decode(name string, value any) error

func Encode added in v1.42.5

func Encode(name string, value any) error

Types

type Scanner added in v1.30.9

type Scanner struct {
	Data []byte
	Sep  []byte
}

func (Scanner) Decode added in v1.30.9

func (s Scanner) Decode(val any) error

func (*Scanner) Scan added in v1.30.9

func (s *Scanner) Scan() bool

Jump to

Keyboard shortcuts

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