json

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: MPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read[T any](r io.Reader) (T, error)

func ReadBytes

func ReadBytes[T any](jsonBytes []byte) (T, error)

func ReadFile

func ReadFile[T any](filename string) (T, error)

func ReadString

func ReadString[T any](jsonString string) (T, error)

func String

func String(v any) (string, error)

func Write

func Write(w io.Writer, v any) error

func WriteFile

func WriteFile(filename string, v any, fsOpts ...fs.Option) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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