jsonio

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadJson

func LoadJson[T any](file io.Reader) (T, error)

func SaveJson

func SaveJson[T any](jsonValue T, file io.Writer) (err error)

Types

type NamedReader

type NamedReader interface {
	io.Reader
	Name() string
}

type NamedWriter

type NamedWriter interface {
	io.Writer
	Name() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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