x

package
v0.2.11-4 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteSliceToString

func ByteSliceToString(b []byte) string

func RemoveNullKeys

func RemoveNullKeys(input map[string]any) map[string]any

RemoveNullKeys removes keys with null values from a JSON object represented as a map[string]any.

func RemoveNullKeysFromJSON

func RemoveNullKeysFromJSON(in json.RawMessage) (json.RawMessage, error)

RemoveNullKeysFromJSON removes null keys from a JSON.RawMessage.

func RemoveNullKeysFromJSONString

func RemoveNullKeysFromJSONString(jsonString string) (string, error)

RemoveNullKeysFromJSONString removes null keys from a JSON string.

func StringToByteSlice

func StringToByteSlice(s string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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