jsonx

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonBytesToAny

func JsonBytesToAny(bytes []byte, v any) error

JsonBytesToAny convert json bytes to any wrap json.Unmarshal

func JsonStringToAny

func JsonStringToAny(str string, v any) error

JsonStringToAny convert json bytes to any wrap json.Unmarshal

func ToJsonBytes

func ToJsonBytes(v any) ([]byte, error)

ToJsonBytes convert any to json bytes wrap json.Marshal

func ToJsonString

func ToJsonString(v any) (string, error)

ToJsonString convert any to json string wrap json.Marshal

Types

This section is empty.

Jump to

Keyboard shortcuts

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