json

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: MPL-2.0 Imports: 4 Imported by: 1

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