jsonutils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetByPath

func GetByPath(path string, data any) (any, bool)

func GetJson

func GetJson[T any](jsonStr string) T

func GetJsonSafe

func GetJsonSafe[T any](jsonStr string) (T, error)

func ToJson

func ToJson[T any](obj T) string

func ToJsonSafe

func ToJsonSafe[T any](obj T) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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