serialize

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v interface{}) ([]byte, error)

Marshal 对应json.Marshal.

func MarshalStr

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

MarshalStr 对应json.Marshal.

func Unmarshal

func Unmarshal(data []byte, v interface{}) error

Unmarshal 对应json.Unmarshal.

func UnmarshalStr

func UnmarshalStr(data string, v interface{}) error

UnmarshalStr 对应json.Unmarshal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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