Documentation
¶
Index ¶
- func ConvertByJson(input, target interface{}) error
- func Decode(data []byte, m interface{}) error
- func DecodeString(data string, m interface{}) error
- func Encode(v interface{}, pretty bool) ([]byte, error)
- func EncodeString(v interface{}, pretty bool) (string, error)
- func MustDecode(data []byte, m interface{})
- func MustDecodeString(data string, m interface{})
- func MustEncode(v interface{}, pretty bool) []byte
- func MustEncodeString(v interface{}, pretty bool) string
- type RawMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertByJson ¶
func ConvertByJson(input, target interface{}) error
func DecodeString ¶
func EncodeString ¶
func MustDecode ¶
func MustDecode(data []byte, m interface{})
func MustDecodeString ¶
func MustDecodeString(data string, m interface{})
func MustEncode ¶
func MustEncodeString ¶
Types ¶
type RawMessage ¶
type RawMessage = json.RawMessage
Click to show internal directories.
Click to hide internal directories.