Documentation ¶
Index ¶
- func Decode(data []byte, v interface{}) error
- func DecodeReader(r io.Reader, v interface{}) error
- func DecodeReader2(r io.Reader, v interface{}) error
- func DecodeString(s string, v interface{}) error
- func Encode(v interface{}) ([]byte, error)
- func EncodeReader(v interface{}) io.Reader
- func EncodeString(v interface{}) (string, error)
- func EncodeWriter(w io.Writer, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeReader ¶
DecodeReader Decode json reader
func DecodeReader2 ¶
DecodeReader2 Decode json reader(use pipe)
func DecodeString ¶
DecodeString Decode json string
func EncodeString ¶
EncodeString Encode json to string
func EncodeWriter ¶
EncodeWriter Encode json to writer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.