Documentation ¶
Index ¶
- func Marshal(obj interface{}) ([]byte, error)
- func MarshalToString(obj interface{}) (string, error)
- func Pretty(v interface{}) []byte
- func PrettyJson(jsonBytes []byte) []byte
- func PrettyWithColor(v interface{}) []byte
- func ToMap(v interface{}) (map[string]interface{}, error)
- func Unmarshal(data []byte, v interface{}) error
- func UnmarshalString(data string, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalToString ¶
func PrettyJson ¶
func PrettyWithColor ¶
func PrettyWithColor(v interface{}) []byte
func UnmarshalString ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.