jsontools

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTraversal      = errors.New("traversal failed")
	ErrUnmarshalBytes = errors.New("expected a slice of bytes")
)

Functions

func Dump

func Dump(obj any) string

func MapGet

func MapGet(m any, keys []string) (val any, err error)

func MapSet

func MapSet(m map[string]any, keys []string, val any) (map[string]any, error)

func UnmarshalBytes

func UnmarshalBytes(bytes, value any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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