json

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidField   = errors.New("invalid field")
	ErrNilOrNotExists = errors.New("nil")
)

Functions

func GetFieldValueByJsonKey

func GetFieldValueByJsonKey(obj interface{}, key string) (interface{}, error)

func GetStringValueOfFieldByJsonKey

func GetStringValueOfFieldByJsonKey(obj interface{}, fieldKey string) (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