jsonutils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MulanPSL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Byte2JsonPretty

func Byte2JsonPretty(b []byte) string

func FromJson

func FromJson(str string, out interface{}) error

func FromJsonByte

func FromJsonByte(str []byte, anyout interface{}) error

func FromJsonStr

func FromJsonStr(param []byte) interface{}

func MapFromJson

func MapFromJson(param string) (m *map[string]interface{}, err error)

func Str2JsonPretty

func Str2JsonPretty(txt string) string

func ToJson

func ToJson(v interface{}) (string, error)

func ToJsonPretty

func ToJsonPretty(v interface{}) string

func ToJsonStr

func ToJsonStr(v interface{}) 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