djson

package
v0.0.0-...-1e877d2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringToJson

func StringToJson(data string) map[string]interface{}

*

JSON (json转map)
@author Bill

func Struct2Json

func Struct2Json(data interface{}) (string, error)

泛型比较麻烦,单独做一个

func ToIntList

func ToIntList(data string) []int

*

	JSONstring (json转IntList)
    @author Bill

func ToJsonString

func ToJsonString(data map[string]interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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