Versions in this module Expand all Collapse all v1 v1.4.0 Oct 17, 2016retracted Changes in this version + func GuessJSONStream(r io.Reader, size int) (io.Reader, bool) + func NewDocumentDecoder(r io.ReadCloser) io.ReadCloser + func ToJSON(data []byte) ([]byte, error) + type LineReader struct + func (r *LineReader) Read() ([]byte, error) + type Reader interface + Read func() ([]byte, error) + type YAMLDecoder struct + func (d *YAMLDecoder) Close() error + func (d *YAMLDecoder) Read(data []byte) (n int, err error) + type YAMLOrJSONDecoder struct + func NewYAMLOrJSONDecoder(r io.Reader, bufferSize int) *YAMLOrJSONDecoder + func (d *YAMLOrJSONDecoder) Decode(into interface{}) error + type YAMLReader struct + func NewYAMLReader(r *bufio.Reader) *YAMLReader + func (r *YAMLReader) Read() ([]byte, error) + type YAMLToJSONDecoder struct + func NewYAMLToJSONDecoder(r io.Reader) *YAMLToJSONDecoder + func (d *YAMLToJSONDecoder) Decode(into interface{}) error