Versions in this module Expand all Collapse all v2 v2.2.8 Jan 6, 2022 Changes in this version + func FutureLineWrap() v2.2.5 Apr 18, 2020 Changes in this version + var YAML_TAG = "json" + func Marshal(in interface{}) (out []byte, err error) + func Unmarshal(in []byte, out interface{}) (err error) + func UnmarshalStrict(in []byte, out interface{}) (err error) + type Decoder struct + func NewDecoder(r io.Reader) *Decoder + func (dec *Decoder) Decode(v interface{}) (err error) + func (dec *Decoder) SetStrict(strict bool) + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (e *Encoder) Close() (err error) + func (e *Encoder) Encode(v interface{}) (err error) + type IsZeroer interface + IsZero func() bool + type MapItem struct + Key interface{} + Value interface{} + type MapSlice []MapItem + type Marshaler interface + MarshalYAML func() (interface{}, error) + type TypeError struct + Errors []string + func (e *TypeError) Error() string + type Unmarshaler interface + UnmarshalYAML func(unmarshal func(interface{}) error) error Other modules containing this package github.com/Velocidex/yaml