package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jul 11, 2025
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
IsEmptyJsonArray 是否是空json array
func IsEmptyJsonObject(data []byte) bool
IsEmptyJsonObject 是否是空json object
JsonArray 将slice转换成[]byte数据,如果slice为nil或空则返回空json array bytes
func JsonObject(args ...any) []byte
JsonObject 将object转换成[]byte数据,如果object为nil或空则返回空json object bytes
Source Files
¶
Click to show internal directories.
Click to hide internal directories.