json

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: GPL-3.0 Imports: 4 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deserialize

func Deserialize(s string, t reflect.Type) (interface{}, error)

Deserialize Json反序列化

func FromString

func FromString(s string, t reflect.Type) interface{}

FromString 从字符串解析

func GetString

func GetString(v interface{}) string

GetString 转换成字符串

func Serialize

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

Serialize Json序列化

Types

This section is empty.

Jump to

Keyboard shortcuts

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