json

package
v0.22.6 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

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

Marshal ..

func Unmarshal

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

Unmarshal ...

func UnmarshalNumber

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

UnmarshalNumber 结构体中包含大整型,如 int64、uint64,使用默认的 Unmarshal 可能会丢失精度

Types

This section is empty.

Jump to

Keyboard shortcuts

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