jsonT

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyToJsonStr added in v0.0.4

func AnyToJsonStr(data any) string

将任意数据转换为json字符串

func FmtPrintln added in v0.0.3

func FmtPrintln(data any)

格式化输出json

func GetDataFromFile

func GetDataFromFile(filename string, data any)

从JsonFile中读取数据

func JsonToMap added in v0.0.4

func JsonToMap(str string) map[string]any

将json字符串转换为map

func SaveDataToFile

func SaveDataToFile(filename string, data any)

将数据保存为json文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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