Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalMapString ¶
func MarshalMapString[K comparable, V any](m map[K]V) (string, error)
MarshalMapString marshals a map to a JSON string, substituting an empty map when nil.
func MarshalSliceString ¶
MarshalSliceString marshals a slice to a JSON string, substituting an empty slice when nil.
func MarshalString ¶
MarshalString marshals the provided value to a JSON string.
func UnmarshalString ¶
UnmarshalString decodes a JSON string into T.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.