Documentation ¶
Index ¶
- func JSONGetBoolean(data []byte, keys ...string) (bool, error)
- func JSONGetFloat(data []byte, keys ...string) (float64, error)
- func JSONGetInt(data []byte, keys ...string) (int64, error)
- func JSONGetString(data []byte, keys ...string) (string, error)
- func JSONMustGetBoolean(data []byte, keys ...string) bool
- func JSONMustGetFloat(data []byte, keys ...string) float64
- func JSONMustGetInt(data []byte, keys ...string) int64
- func JSONMustGetString(data []byte, keys ...string) string
- func Marshal(v interface{}) ([]byte, error)
- func MarshalIndent(v interface{}, prefix, indent string) ([]byte, error)
- func Unmarshal(data []byte, v interface{}) error
- type JSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONMustGetBoolean ¶
func JSONMustGetFloat ¶
func JSONMustGetInt ¶
func JSONMustGetString ¶
func MarshalIndent ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.