Help us shape the future of Go! Take the 2026 Go Developer Survey

json

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MPL-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmptyJsonArray

func IsEmptyJsonArray(data []byte) bool

IsEmptyJsonArray 是否是空json array

func IsEmptyJsonObject

func IsEmptyJsonObject(data []byte) bool

IsEmptyJsonObject 是否是空json object

func JsonArray

func JsonArray(args ...any) []byte

JsonArray 将slice转换成[]byte数据,如果slice为nil或空则返回空json array bytes

func JsonObject

func JsonObject(args ...any) []byte

JsonObject 将object转换成[]byte数据,如果object为nil或空则返回空json object bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

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