djson

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 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