json

package
v1.39.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Create added in v1.38.2

func Create[T any](value T, name string) error

`value` is the receiver

func Open added in v1.38.2

func Open[T any](name string) (*T, 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