Documentation
¶
Index ¶
- Variables
- func Decode(body io.ReadCloser, dst interface{}) error
- func DecodeBuffer(buf *bytes.Buffer, dst interface{}) error
- func DecodeBytes(data []byte, dst interface{}) error
- func Encode(value interface{}) string
- func EncodeBuffer(value interface{}) *bytes.Buffer
- func EncodeBytes(value interface{}) []byte
- func EncodeIndentBytes(value interface{}, prefix, indent string) []byte
- func EncodeRaw(value interface{}) json.RawMessage
- func Iterator(filename string) <-chan Record
- type Record
Constants ¶
This section is empty.
Variables ¶
View Source
var Unmarshal = json.Unmarshal
Functions ¶
func Decode ¶
func Decode(body io.ReadCloser, dst interface{}) error
func DecodeBuffer ¶
func DecodeBytes ¶
func EncodeBuffer ¶
func EncodeBytes ¶
func EncodeBytes(value interface{}) []byte
func EncodeIndentBytes ¶
func EncodeRaw ¶
func EncodeRaw(value interface{}) json.RawMessage
Types ¶
Click to show internal directories.
Click to hide internal directories.