Documentation
¶
Index ¶
- Variables
- func MustMarshal(v interface{}) []byte
- func MustMarshalToString(v interface{}) string
- func PrettyS(v interface{}, l ...int) string
- func PrettyT(v interface{}) string
- func Print(v interface{})
- func PrintPretty(v interface{})
- func UnmarshalFromString(s string, v interface{}) error
- func UnmarshalToMap(s string) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Marshal = json.Marshal MarshalIndent = json.MarshalIndent Unmarshal = json.Unmarshal NewDecoder = json.NewDecoder NewEncoder = json.NewEncoder )
Functions ¶
func MustMarshal ¶
func MustMarshal(v interface{}) []byte
func MustMarshalToString ¶
func MustMarshalToString(v interface{}) string
func PrintPretty ¶ added in v0.0.2
func PrintPretty(v interface{})
func UnmarshalFromString ¶
func UnmarshalToMap ¶ added in v0.0.9
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.