Documentation ¶
Index ¶
- func Byte2JsonPretty(b []byte) string
- func FromJson(str string, obj any) error
- func FromJsonByte(inbyte []byte, obj any) error
- func FromJsonStr(param []byte) any
- func MapFromJson(param string) (m *map[string]any, err error)
- func Str2JsonPretty(txt string) string
- func ToJson(v any) (string, error)
- func ToJsonBytes(v any) ([]byte, error)
- func ToJsonPretty(v any) string
- func ToJsonStr(v any) string
- type JsonUtils
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Byte2JsonPretty ¶
func FromJsonByte ¶
func FromJsonStr ¶
func Str2JsonPretty ¶
func ToJsonBytes ¶ added in v1.0.51
func ToJsonPretty ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.