Documentation ¶
Index ¶
- func Encode(v interface{}) (string, error)
- func JsonDecode(data string) (map[string]interface{}, error)
- func JsonDecodeNoError(data string) map[string]interface{}
- func JsonDecodesNoError(data string) []string
- func JsonEncode(data interface{}) (string, error)
- func JsonEncodeNoError(data interface{}) string
- func Marshal(v any) ([]byte, error)
- func MarshalToString(msg interface{}) (string, error)
- func Unmarshal(data []byte, v any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonDecode ¶
func JsonDecodeNoError ¶
func JsonDecodesNoError ¶ added in v1.0.44
func JsonEncode ¶
func JsonEncodeNoError ¶
func JsonEncodeNoError(data interface{}) string
func MarshalToString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.