jsonio

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadJson

func LoadJson[T any](file NamedReader) (T, error)

func SaveJson

func SaveJson[T any](jsonValue T, file NamedWriter) (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