Versions in this module Expand all Collapse all v1 v1.1.0 Feb 27, 2017 v1.0.0 Jun 29, 2016 Changes in this version + func ToJSON(data []byte) ([]byte, error) + type YAMLOrJSONDecoder struct + func NewYAMLOrJSONDecoder(r io.Reader, bufferSize int) *YAMLOrJSONDecoder + func (d *YAMLOrJSONDecoder) Decode(into interface{}) error + type YAMLToJSONDecoder struct + func NewYAMLToJSONDecoder(r io.Reader) *YAMLToJSONDecoder + func (d *YAMLToJSONDecoder) Decode(into interface{}) error Incompatible versions in this module v2.0.0+incompatible Feb 27, 2017