jsonutils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MulanPSL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonFrom

func JsonFrom(param []byte) any

json.Unmarshal(bs, &a1)

json.Unmarshal(result, &ret)

func JsonFromAny

func JsonFromAny(param []byte, ret *any) error

func JsonFromMap

func JsonFromMap(param []byte, ret *map[string]any) error

func ToJsonPretty

func ToJsonPretty(v any) string

func ToJsonStr

func ToJsonStr(v any) string

Types

type JsonUtils

type JsonUtils struct {
}

Jump to

Keyboard shortcuts

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