json

package
v0.0.0-...-701726f Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: EPL-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteToJsonIfe

func ByteToJsonIfe(jsonByte []byte) (interface{}, error)

ByteToJsonIfe []byte 转 interface, 类似于比特转对象

func ByteToJsonIfe2

func ByteToJsonIfe2(jsonByte []byte, object interface{}) (interface{}, error)

ByteToJsonIfe2 []byte 转 interface, 类似于比特转对象

func DumJsonStr

func DumJsonStr(jsonStr string)

func Ife2Byte

func Ife2Byte(object interface{}) ([]byte, error)

Ife2Byte interface 转 []byte, 类似于对象转比特

func Ife2JsonStr

func Ife2JsonStr(object interface{}) (string, error)

Ife2JsonStr interface转JSON字符串, 类似于对象转JSON字符串

func Str2JsonIfe

func Str2JsonIfe(jsonStr string, obj interface{}) (interface{}, error)

Str2JsonIfe 字符串转 interface, 类似于字符串转对象

func Str2Map

func Str2Map(jsonStr string) (map[string]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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