jsonx

package
v0.0.0-...-4f7920e Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Marshal

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

func MarshalJSONWithWriter

func MarshalJSONWithWriter(v interface{}, w io.Writer) (err error)

MarshalJSONWithWriter go默认为转义转=、<、>、&,和其他语言(如C++开发的某支付后端)交互时,会出异常

func Unmarshal

func Unmarshal(data []byte, v 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