jsonhelper

package
v0.0.0-...-926aee0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalData

func MarshalData(w io.Writer, data interface{}) error

MarshalData 将 data, 生成 json 格式的数据, 写入 w 中

func UnmarshalData

func UnmarshalData(r io.Reader, data interface{}) error

UnmarshalData 将 r 中的 json 格式的数据, 解析到 data

Types

This section is empty.

Jump to

Keyboard shortcuts

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